language: go go: - 1.5.3 addons: hosts: - le.wtf - boulder - boulder-mysql - boulder-rabbitmq sudo: required services: - docker matrix: fast_finish: true # Only build pushes to the master branch, PRs, and branches beginning with # `test-`. You should not push branches beginning with `test-` to the # letsencrypt repository, but this is a convenient way to push branches to your # own fork of the repostiroy to ensure Travis passes before submitting a PR. # For instance, you might run: # git push myremote branchname:test-branchname branches: only: - master - staging - release - /^test-.*$/ env: global: - PATH=$HOME/bin:$PATH # protoc gets installed here - GO15VENDOREXPERIMENT=1 matrix: - RUN="vet fmt migrations integration godep-restore errcheck generate" # Config changes that have landed in master but not yet been applied to # production can be made in boulder-config-next.json. - RUN="integration" BOULDER_CONFIG="test/boulder-config-next.json" - RUN="unit" install: - docker-compose pull - docker pull letsencrypt/boulder-tools - docker-compose build script: - docker-compose run -e RUN="${RUN}" -e TRAVIS="${TRAVIS}" -e TRAVIS_COMMIT="${TRAVIS_COMMIT}" -e TRAVIS_PULL_REQUEST="${TRAVIS_PULL_REQUEST}" boulder ./test.sh