go.uber.org/cadence@v1.2.9/.travis.yml (about)

     1  dist: trusty
     2  sudo: required
     3  
     4  language: go
     5  directories:
     6      - $HOME/.glide/cache
     7  go:
     8    - 1.11.x
     9  
    10  go_import_path: go.uber.org/cadence
    11  addons:
    12    apt:
    13      packages:
    14        - gettext-base
    15        - libyaml-dev
    16        - openjdk-8-jre
    17        - python
    18        - python-dev
    19        - python-pip
    20  
    21  before_install:
    22  
    23  install:
    24    - go get -u github.com/Masterminds/glide
    25    - go get -u github.com/golang/dep/cmd/dep
    26    - go get github.com/axw/gocov/gocov
    27    - go get github.com/mattn/goveralls
    28    - go get golang.org/x/tools/cmd/cover
    29    - go get -u golang.org/x/lint/golint
    30  
    31  script:
    32    - make cover_ci
    33  
    34  after_success:
    35    - export BRANCH=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRANCH; else echo $TRAVIS_PULL_REQUEST_BRANCH; fi)
    36