mirror of
https://github.com/certbot/certbot.git
synced 2026-06-04 22:33:00 -04:00
Start boulder for tox when needed.
This commit is contained in:
parent
1ad092d715
commit
82f994b23e
1 changed files with 7 additions and 2 deletions
|
|
@ -57,7 +57,10 @@ matrix:
|
|||
before_install:
|
||||
addons:
|
||||
- python: "2.7"
|
||||
env: TOXENV=apacheconftest
|
||||
env:
|
||||
- ACME_SERVER_URI="http://localhost:4000/directory"
|
||||
- BOULDER_FOR_TOX=1
|
||||
- TOXENV=apacheconftest
|
||||
sudo: required
|
||||
- python: "2.7"
|
||||
env: TOXENV=nginxroundtrip
|
||||
|
|
@ -92,8 +95,10 @@ addons:
|
|||
|
||||
install: "travis_retry $(command -v pip || command -v pip3) install codecov tox"
|
||||
script:
|
||||
- '[ -z "${BOULDER_FOR_TOX+x}" ] || travis_retry tests/boulder-fetch.sh'
|
||||
- travis_retry tox
|
||||
- '[ -z "${BOULDER_INTEGRATION+x}" ] || (travis_retry tests/boulder-fetch.sh && tests/tox-boulder-integration.sh)'
|
||||
# If BOULDER_INTEGRATION is set, run integration tests. If BOULDER_FOR_TOX isn't set, we still need to start boulder.
|
||||
- '[ -z "${BOULDER_INTEGRATION+x}" ] || ( ( [ -n "${BOULDER_FOR_TOX+x}" ] || travis_retry tests/boulder-fetch.sh ) && tests/tox-boulder-integration.sh)'
|
||||
|
||||
after_success: '[ "$TOXENV" == "py27-cover" ] && codecov'
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue