We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d568a2 commit e86e12bCopy full SHA for e86e12b
.travis.yml
@@ -1,5 +1,5 @@
1
sudo: required
2
-dist: trusty
+dist: focal
3
4
os: linux
5
@@ -9,9 +9,10 @@ compiler: gcc
9
10
addons:
11
apt:
12
+ sources:
13
+ - sourceline: 'ppa:redislabs/redis'
14
packages:
15
- luarocks
- - redis
16
- lsof
17
18
cache:
@@ -37,6 +38,10 @@ env:
37
38
- NGINX_VERSION=1.17.8
39
40
before_install:
41
+ # we can't update redis in addons.apt.packages as updated package automatically tries to start and immediately fails
42
+ - echo exit 101 | sudo tee /usr/sbin/policy-rc.d
43
+ - sudo chmod +x /usr/sbin/policy-rc.d
44
+ - sudo apt-get install -y redis-server
45
- sudo luarocks install luacov
46
- sudo luarocks install lua-resty-redis
47
- sudo luarocks install luacheck $LUACHECK_VER
0 commit comments