Skip to content

Commit d412ed1

Browse files
Build Redis with TLS support in CI
1 parent 1e12518 commit d412ed1

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.travis.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,14 @@ cache:
1212
before_cache:
1313
- rm -rf /home/travis/.cargo/registry
1414

15-
# This is not a an official ppa but seems to be a well-known one. Replace it if
16-
# we can get Redis 6 from main stream package mananger.
17-
#
18-
# Refs:
19-
# - https://github.com/antirez/redis/issues/1732
20-
# - https://launchpad.net/~chris-lea/+archive/ubuntu/redis-server
2115
before_install: |
22-
sudo add-apt-repository ppa:chris-lea/redis-server -y
2316
sudo apt-get update
24-
sudo apt-get install redis-server=5:6.0.5-1chl1~xenial1 stunnel -y
17+
sudo apt-get install stunnel -y
18+
19+
install: |
20+
wget https://github.com/redis/redis/archive/6.0.6.tar.gz;
21+
tar -xzvf 6.0.6.tar.gz;
22+
pushd redis-6.0.6 && BUILD_TLS=yes make && export PATH=$PWD/src:$PATH && popd;
2523
2624
matrix:
2725
include:

0 commit comments

Comments
 (0)