-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
34 lines (30 loc) · 912 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
dist: trusty
sudo: required
language: node_js
node_js:
- 7.6.0
env:
global:
- PASS=""
- NODE_USER=root
- USER=root
services:
- mysql
- redis-server
- elasticsearch
before_install:
- sudo apt-get -y update
- gem install redis
install:
- npm install
- npm update --save
- npm prune
- npm dedupe
- npm shrinkwrap
before_script:
- jshint app/ microservices/ routes/ run/ test/ util/ public/javascripts/service public/javascripts/viewmodel/ public/javascripts/view public/javascripts/js/home-setup.js public/javascripts/chat_render.js public/javascripts/chatViewModel.js
#elastic search takes a while to start, sleep for some time
- sleep 10
script: ./test.sh