Skip to content

Commit 7c60431

Browse files
tests: travis failed due to the cetificat of Let's Encrypt expired. (openresty#1939)
1 parent acd5364 commit 7c60431

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
dist: xenial
1+
dist: bionic
22

33
branches:
44
only:
@@ -59,6 +59,8 @@ services:
5959
- mysql
6060

6161
before_install:
62+
- sudo apt update
63+
- sudo apt install --only-upgrade ca-certificates
6264
- '! grep -n -P ''(?<=.{80}).+'' --color `find src -name ''*.c''` `find . -name ''*.h''` || (echo "ERROR: Found C source lines exceeding 80 columns." > /dev/stderr; exit 1)'
6365
- '! grep -n -P ''\t+'' --color `find src -name ''*.c''` `find . -name ''*.h''` || (echo "ERROR: Cannot use tabs." > /dev/stderr; exit 1)'
6466
- sudo cpanm --notest Test::Nginx IPC::Run > build.log 2>&1 || (cat build.log && exit 1)
@@ -136,4 +138,4 @@ script:
136138
- dig +short myip.opendns.com @resolver1.opendns.com || exit 0
137139
- dig +short @$TEST_NGINX_RESOLVER openresty.org || exit 0
138140
- dig +short @$TEST_NGINX_RESOLVER agentzh.org || exit 0
139-
- prove -Itest-nginx/lib -r t
141+
- prove -I. -Itest-nginx/lib -r t

0 commit comments

Comments
 (0)