mirror of
https://github.com/fullstack-cash/bch-api.git
synced 2026-09-22 09:12:05 -07:00
Adding redis install to travis
This commit is contained in:
@@ -10,6 +10,9 @@ sudo: required
|
||||
services:
|
||||
- docker
|
||||
|
||||
before_install:
|
||||
- ./install-redis.sh
|
||||
|
||||
script: "npm run test"
|
||||
|
||||
after_success:
|
||||
|
||||
Executable
+12
@@ -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
|
||||
Reference in New Issue
Block a user