mirror of
https://github.com/certbot/certbot.git
synced 2026-08-04 12:32:02 +02:00
Candidate issues to be addressed: - race condition: start.sh might fail to start Boulder WFE before ./tests/boulder-integration.sh is run (unlikely, but possible, leading to flaky tests) - intertwined build logs (./start.sh boostraps in the background, integration test debug logs on server and client side)
34 lines
952 B
YAML
34 lines
952 B
YAML
language: python
|
|
|
|
# http://docs.travis-ci.com/user/ci-environment/#CI-environment-OS
|
|
before_install: travis_retry sudo ./bootstrap/ubuntu.sh
|
|
|
|
# using separate envs with different TOXENVs creates 4x1 Travis build
|
|
# matrix, which allows us to clearly distinguish which component under
|
|
# test has failed
|
|
env:
|
|
global:
|
|
- GOPATH=/tmp/go
|
|
matrix:
|
|
- TOXENV=py26
|
|
- TOXENV=py27
|
|
- TOXENV=lint
|
|
- TOXENV=cover
|
|
|
|
install: "travis_retry pip install tox coveralls"
|
|
before_script: '[ "${TOXENV:0:2}" != "py" ] || ./tests/boulder-start.sh'
|
|
# TODO: eliminate substring slice bashism
|
|
script: 'travis_retry tox && ([ "${TOXENV:0:2}" != "py" ] || (source .tox/$TOXENV/bin/activate && ./tests/boulder-integration.sh))'
|
|
|
|
after_success: '[ "$TOXENV" == "cover" ] && coveralls'
|
|
|
|
notifications:
|
|
email: false
|
|
irc:
|
|
channels:
|
|
- "chat.freenode.net#letsencrypt"
|
|
on_success: never
|
|
on_failure: always
|
|
use_notice: true
|
|
skip_join: true
|