Travis CI: test nginx plugin.

This commit is contained in:
Jakub Warmuz 2015-06-27 08:41:45 +00:00
parent 9652656e14
commit 49b02e7740
No known key found for this signature in database
GPG key ID: 2A7BAD3A489B52EA
2 changed files with 12 additions and 1 deletions

View file

@ -1,7 +1,9 @@
language: python
# http://docs.travis-ci.com/user/ci-environment/#CI-environment-OS
before_install: travis_retry sudo ./bootstrap/ubuntu.sh
before_install:
- travis_retry sudo ./bootstrap/ubuntu.sh
- apt-get install --no-install-recommends nginx-light openssl
# using separate envs with different TOXENVs creates 4x1 Travis build
# matrix, which allows us to clearly distinguish which component under

View file

@ -15,6 +15,9 @@ echo "\nRoot integration tests directory: $root"
store_flags="--config-dir $root/conf --work-dir $root/work"
store_flags="$store_flags --logs-dir $root/logs"
export PATH="/usr/sbin:$PATH" # /usr/sbin/nginx
common() {
# first three flags required, rest is handy defaults
letsencrypt \
@ -60,3 +63,9 @@ do
live="$(readlink -f "$root/conf/live/le1.wtf/${x}.pem")"
[ "${dir}/${latest}" = "$live" ] # renewer fails this test
done
if type nginx;
then
. ./tests/boulder-integration-nginx.sh
fi