mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
Travis CI: test nginx plugin.
This commit is contained in:
parent
9652656e14
commit
49b02e7740
2 changed files with 12 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue