Adding redis install to travis

This commit is contained in:
Chris Troutner
2020-02-07 16:56:15 -08:00
parent b83bef09d8
commit bae3bb9de9
2 changed files with 15 additions and 0 deletions
+3
View File
@@ -10,6 +10,9 @@ sudo: required
services:
- docker
before_install:
- ./install-redis.sh
script: "npm run test"
after_success:
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
# Adapted from:
# https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-redis-on-ubuntu-18-04
# Install Redis.
sudo apt install redis-server
# Converting to systemd managed process
#echo "supervised systemd" >> /etc/redis/redis.conf
#sudo systemctl restart redis.service