mirror of
https://github.com/certbot/certbot.git
synced 2026-06-04 22:33:00 -04:00
Create databases in travis
This commit is contained in:
parent
2b33dd42e8
commit
f39e6c672d
2 changed files with 11 additions and 6 deletions
12
.travis.yml
12
.travis.yml
|
|
@ -1,11 +1,5 @@
|
|||
language: python
|
||||
|
||||
# make sure simplehttp simple verification works (custom /etc/hosts)
|
||||
addons:
|
||||
hosts:
|
||||
- le.wtf
|
||||
mariadb: "10.0"
|
||||
|
||||
services:
|
||||
- rabbitmq
|
||||
- mysql
|
||||
|
|
@ -28,6 +22,12 @@ env:
|
|||
- TOXENV=lint
|
||||
- TOXENV=cover
|
||||
|
||||
# make sure simplehttp simple verification works (custom /etc/hosts)
|
||||
addons:
|
||||
hosts:
|
||||
- le.wtf
|
||||
mariadb: "10.0"
|
||||
|
||||
install: "travis_retry pip install tox coveralls"
|
||||
before_script: '[ "xxx$BOULDER_INTEGRATION" = "xxx" ] || ./tests/boulder-start.sh'
|
||||
script: 'travis_retry tox && ([ "xxx$BOULDER_INTEGRATION" = "xxx" ] || (source .tox/$TOXENV/bin/activate && ./tests/boulder-integration.sh))'
|
||||
|
|
|
|||
|
|
@ -5,5 +5,10 @@ export GOPATH="${GOPATH:-/tmp/go}"
|
|||
|
||||
go get -d github.com/letsencrypt/boulder
|
||||
cd $GOPATH/src/github.com/letsencrypt/boulder
|
||||
|
||||
if [ "${TRAVIS}" == "true" ]; then
|
||||
./test/create_db.sh || die "unable to create the boulder database with test/create_db.sh"
|
||||
fi
|
||||
|
||||
./start.py &
|
||||
# Hopefully start.py bootstraps before integration test is started...
|
||||
|
|
|
|||
Loading…
Reference in a new issue