gopkg.in/constabulary/gb.v0@v0.4.4/.travis.yml (about)

     1  language: go
     2  go_import_path: github.com/constabulary/gb
     3  go:
     4    - 1.4.x
     5    - 1.5.x
     6    - 1.6.x
     7    - 1.7.x
     8    - 1.8.x
     9    - tip
    10  
    11  sudo: false
    12  
    13  addons:
    14    apt:
    15      packages:
    16        - libcap-dev # integration-tests/service.v1
    17    ssh_known_hosts:
    18        - bitbucket.org
    19  
    20  install:
    21    - go get -t -v ./...
    22    - git clone --quiet --single-branch --depth 1 https://github.com/constabulary/integration-tests.git ../integration-tests
    23    - if [[ $TRAVIS_GO_VERSION == 1.4* ]]; then go get -u golang.org/x/tools/cmd/cover; fi
    24    - echo '#!/bin/bash' > "$GOPATH/bin/sudo"
    25      && echo 'echo >&2 attempted sudo "$@"' >> "$GOPATH/bin/sudo"
    26      && chmod +x "$GOPATH/bin/sudo"
    27  
    28  script:
    29    - go install -v ./...
    30      && bin/coverage.sh
    31      && go build
    32      && gb test 
    33      && ../integration-tests/run-all.bash
    34  
    35  after_success:
    36    - bash <(curl -s https://codecov.io/bash)