--- # See appveyor.yml for windows build. sudo: required language: go dist: trusty osx_image: xcode9 os: - linux - osx notifications: email: false go: - 1.8.1 before_install: # work-around for issue https://github.com/travis-ci/travis-ci/issues/6307 # might not be necessary in the future - command curl -sSL https://rvm.io/mpapis.asc | gpg --import - - rvm get stable addons: apt: packages: - libsecret-1-dev - pass before_script: - make deps - "export DISPLAY=:99.0" - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sh ci/before_script_linux.sh; fi - make validate script: make test before_deploy: - sh ci/before_deploy.sh deploy: provider: releases api_key: secure: "cGs5cao/MeVQVnum+Pr/Tpv+w83NsqGVS3wxvi3LYEf2ON4Kkmtd+Alwi0YFkGPJmSY0jZOct8NVK/M70qSnIU4l+AAq9+3KSMv23u4xrmy2sQog3AF+Ve3Rac+iYwZHOWwGs9I67CSuVv0vjJNVsDsTVefc25lHJImjRvXIS4p9xYzRPeUDCoqAo/QMVE+vFiMyxydsvt8fhd0gZCjPYWEpyHe9tjZ1tr1HsHZKFAjVb6AmF45d8rvadPoVUuLaOtr35wDC3XRKEvCZUefQpwLkrNj7j2L1rVGlY1xTE2APpLtvfd7R1Mx6kSfS1Gm3Pwcv3mugadXIhecL0lsdnU+BANjX3VUiv4ryzTPbsge966mv9ZQYwAzgCQTWRtMNJqsAnPZTeAkiOntd+HMQbPpxljOxv1sjDPY+EIZesyB3yQRJI8vMxqFcAjxeRyLcBqEnRFC2nd/Ln0KZ7ZFu16FcpNqRojdBayyypuXKqAiBNwtp4ti/65x8eHfBJuNjJtNZkRsJEYam4CYMRLxds9plKQfkaZ8045PKpyXO8fMpUhrfqSVID4IrYvD+io6XoXtdR4Lk6isZ2EgrjdrqgdG70S5lwKihL4iAi2F2ZCWhngFhkeNVOZunEWE6qZMk5wKODajR9sixGDApGPZQVojHwCNRGILZaHZ39JCIj3s=" # upload file artifacts using a glob expression. # It requires both options `file_glob` and `file`: # https://github.com/travis-ci/dpl/blob/master/lib/dpl/provider/releases.rb#L47-L53 file_glob: true file: docker-credential-*-${TRAVIS_TAG}-amd64.tar.gz # don't delete the artifacts from previous phases skip_cleanup: true # deploy when a new tag is pushed on: tags: true branches: only: # Pushes and PR to the master branch - master # IMPORTANT Ruby regex to match tags. Required, or travis won't trigger deploys when a new tag # is pushed. This regex matches semantic versions like v1.2.3-rc4+2016.02.22 - /^v\d+\.\d+\.\d+.*$/