test: try to fix redis ECONNREFUSED in travis ci

This commit is contained in:
DIYgod
2019-01-31 18:40:58 +08:00
parent 991c2407a4
commit fe41eaffe7
+3
View File
@@ -8,6 +8,9 @@ services:
install:
- yarn
before_install:
sudo service redis-server start --bind 127.0.0.1
script:
- npm run test