-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
29 lines (28 loc) · 1.53 KB
/
.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
language: node_js
node_js:
- '8'
dist: trusty
services:
- docker
- mongodb
# - redis-server
env:
matrix:
- NODE_ENV=ci PORT=3000
global:
- secure: U/963+wDQJ7zT+S4LSCDZ9E87mrsDiAQt7YgZh/KmbJyVvBX7bj0JQRfxOz8/MT1b/LFodrRuxvl5yElwjeaRZ29o31HGL3RIfyMxs2eHuKYDlObUTzpB82yL2/wCiOZVJ+7Kf4hVbEEb49Lg2WLiLdn9jRn+RB/D7OWitHwYeG1dXKRvnbBiYbxzLgEB7wup7Pxmb+QxL5HLGTmMtOKoGxJW/8fDJR3/A0gQJtwJ5vD0CgSNA+1C5Rget0DJwBc1t6YcuWqM7k2XI+0unLHKrXYnNoJHAA7TwKnv3WtWaf1zG6nx8ub86tyX+tOKmqolCYdeQzepEiThopO+tWl9tNVXlbEV9gncSs/s4KujpoI+onk5a+vvUG5SdWeoSuj+q26XYfHCMGPs1PeLtdGmchFvkiIMvygtg2OG3/dsAhLZFCX+mO61KI99q069kIKX9AGSYXN5i+nTXZDtGzJnPifjF/TNR2EBbwhUcpid2ttxK6QXWqcwhQ8aeQQZyvbdyjYeqWG4UvrAHFdnd7tIZ9vBf306mnqEscp4lHiHALY/6MMe7w+33/YyrNOKQ+5wl1Vk7wvwHkckTxghQsLg7+gUSxAAzeaqjSXPxvV5PeEFvWwZq1rm0WCpfbZdh9klt7jGjFco/tD0FKf/9qoiQW1F1OOzS2OHyYzTw8+CvI=
cache:
directories:
- node_modules
- client/node_modules
- server/node_modules
- sprider/node_modules
install:
#- apt-get update
#- apt-get install -y -q gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget
- npm install
- npm run install-dev
script:
- nohup npm run ci &
- sleep 10
- npm run test