github.com/golang/dep@v0.5.4/.travis.yml (about)

     1  language: go
     2  sudo: false
     3  dist: xenial
     4  notifications:
     5    email: false
     6  jobs:
     7    include:
     8      - stage: test
     9        go_import_path: github.com/golang/dep
    10        install:
    11          - ssh-keyscan -t $TRAVIS_SSH_KEY_TYPES -H bitbucket.org >> ~/.ssh/known_hosts
    12          - make get-deps
    13          - npm install -g codeclimate-test-reporter
    14        env:
    15          - DEPTESTBYPASS501=1
    16          - TZ=UTC
    17          - GOCACHE=/home/travis/var/cache
    18        os: linux
    19        go: 1.12.x
    20        script:
    21          - make validate test
    22          - ./hack/coverage.bash
    23        after_success:
    24          - codeclimate-test-reporter < coverage.txt
    25      # YAML alias, for settings shared across the simpler builds
    26      - &simple-test
    27        go: 1.11.x
    28        stage: test
    29        go_import_path: github.com/golang/dep
    30        install:
    31          - ssh-keyscan -t $TRAVIS_SSH_KEY_TYPES -H bitbucket.org >> ~/.ssh/known_hosts
    32        env:
    33          - DEPTESTBYPASS501=1
    34          - TZ=UTC
    35        script:
    36          - make test
    37      - <<: *simple-test
    38        go: 1.9.x
    39      - <<: *simple-test
    40        go: tip
    41        install:
    42          - ssh-keyscan -t $TRAVIS_SSH_KEY_TYPES -H bitbucket.org >> ~/.ssh/known_hosts
    43          - mkdir -p /home/travis/var/cache
    44        env:
    45          - GOCACHE=/home/travis/var/cache
    46          - DEPTESTBYPASS501=1
    47          - TZ=UTC
    48  
    49      - <<: *simple-test
    50        os: osx
    51        go: 1.12.x
    52        install:
    53          # brew takes horribly long to update itself despite the above caching
    54          # attempt; only bzr install if it's not on the $PATH
    55          - ssh-keyscan -t $TRAVIS_SSH_KEY_TYPES -H bitbucket.org >> ~/.ssh/known_hosts
    56          - test $(which bzr) || brew install bzr
    57        env:
    58          - HOMEBREW_NO_AUTO_UPDATE=1
    59          - DEPTESTBYPASS501=1
    60          - TZ=UTC
    61          - GOCACHE=/Users/travis/var/cache
    62        script:
    63          # OSX as of El Capitan sets an exit trap that interacts poorly with how
    64          # travis seems to spawn these shells; if set -e is set, then it can cause
    65          # build failures. We're not doing that here, but retain the trap statement
    66          # for future safety.
    67          # Related: https://superuser.com/questions/1044130/why-am-i-having-how-can-i-fix-this-error-shell-session-update-command-not-f
    68          - trap EXIT
    69          - make test
    70      - go: 1.12.x
    71        # Run on OS X so that we get a CGO-enabled binary for this OS; see
    72        # https://github.com/golang/dep/issues/1838 for more details.
    73        os: osx
    74        stage: deploy
    75        go_import_path: github.com/golang/dep
    76        install:
    77          - ssh-keyscan -t $TRAVIS_SSH_KEY_TYPES -H bitbucket.org >> ~/.ssh/known_hosts
    78        script:
    79          - skip
    80        before_deploy:
    81          - ./hack/build-all.bash
    82        deploy:
    83          - provider: releases
    84            api_key:
    85              secure: fL9GX11J3JLizEBTPZHN32wuAT91eAJsGl0kjlAdIc6Lb/9UCe1XZGgFnpQFN4qo/S+omhHBDbM6Ty1xhNy7xmjDecpQGDU8Rmap9Oll0TuxqMigG+njOuPp5VUYPofPP0PGKdxAcYg+KaFM7x0o2rK+qA046NHwo2gH1BbE+bn55TZglEajEfc8j9iX4jt96KC7zlu+WiKArLmfUtlrI8m8ZYgbYcvFmlYjeCiEqlNhvNL59ejug9Rl0PLtPbamqVXkGLafYtekgPCb4WSxBiCt8pq5Rb5svk9YcdXpiaWQhZjMPAuKN6BrmN2lw1PiXzADUG5fjvNc8eo2HY70GD2utU9cAsY8VIafhoH5n6uM1WI8MHwDfd7P1PiQA3ZGQ8CPwk4q/8HSfQU9ap7vZgSF63pTIbtlviyIG67orOJE9PWWncl9olYM946UylZu6m3hWI/rmJxOeJ1UJjym/3GNPMRfKubaGhV/TyRdM0bKX4M0cXHU6k/ESVFupGXdKRt4RpvkD4/1Km6b2OShW6PNI+ifFspnJr7obkI7dm7ubySdnNz4lMv9WWymxRpMVc8hUAhuoDvXeZJq7pSnkjBEWDxIRoTkA93CU3/Rf7MFYCJMnGSqjcxWUpIfCAk2/r4BqL9NQnqBvvVt+MYi64QaD5n7ZF3dVbr6HZ2zjSU=
    86            file:
    87              - release/dep-linux-amd64
    88              - release/dep-linux-amd64.sha256
    89              - release/dep-darwin-amd64
    90              - release/dep-darwin-amd64.sha256
    91              - release/dep-freebsd-amd64
    92              - release/dep-freebsd-amd64.sha256
    93              - release/dep-windows-amd64.exe
    94              - release/dep-windows-amd64.exe.sha256
    95              - release/dep-linux-386
    96              - release/dep-linux-386.sha256
    97              - release/dep-darwin-386
    98              - release/dep-darwin-386.sha256
    99              - release/dep-freebsd-386
   100              - release/dep-freebsd-386.sha256
   101              - release/dep-windows-386.exe
   102              - release/dep-windows-386.exe.sha256
   103              - release/dep-linux-ppc64
   104              - release/dep-linux-ppc64.sha256
   105              - release/dep-linux-ppc64le
   106              - release/dep-linux-ppc64le.sha256
   107              - release/dep-linux-s390x
   108              - release/dep-linux-s390x.sha256
   109              - release/dep-linux-arm
   110              - release/dep-linux-arm.sha256
   111              - release/dep-linux-arm64
   112              - release/dep-linux-arm64.sha256
   113            skip_cleanup: true
   114            on:
   115              repo: golang/dep
   116              branch: master
   117              tags: true
   118  addons:
   119    ssh_known_hosts: github.com