github.com/gsquire/gb@v0.4.4-0.20161112235727-3982dc872064/.travis.yml (about)

     1  language: go
     2  go_import_path: github.com/constabulary/gb
     3  go:
     4    - 1.4.3
     5    - 1.5.3
     6    - 1.6.2
     7    - tip
     8  
     9  sudo: false
    10  
    11  addons:
    12    apt:
    13      packages:
    14        - libcap-dev # integration-tests/service.v1
    15    ssh_known_hosts:
    16        - bitbucket.org
    17  
    18  install:
    19    - go get -t -v ./...
    20    - git clone --quiet --single-branch --depth 1 https://github.com/constabulary/integration-tests.git ../integration-tests
    21    - echo '#!/bin/bash' > "$GOPATH/bin/sudo"
    22      && echo 'echo >&2 attempted sudo "$@"' >> "$GOPATH/bin/sudo"
    23      && chmod +x "$GOPATH/bin/sudo"
    24  
    25  script:
    26    - go test -v ./...
    27    - ../integration-tests/run-all.bash