-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.travis.yml
More file actions
38 lines (38 loc) · 875 Bytes
/
.travis.yml
File metadata and controls
38 lines (38 loc) · 875 Bytes
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
35
36
37
38
language: node_js
sudo: false
node_js:
- 4.2.2
matrix:
fast_finish: true
env:
global:
- LOG_LEVEL=fatal
- CIRCLE_NODE_TOTAL=3
matrix:
- CIRCLE_NODE_INDEX=0
- CIRCLE_NODE_INDEX=1
- CIRCLE_NODE_INDEX=2
cache:
- directories:
- /tmp/downloads
- ./node_modules
services:
- mongodb
- redis-server
- rabbitmq
before_install:
- echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc
- ulimit -n
- npm install -g npm@4.0.3
before_script:
- npm run lint
script:
- timeout 3m ./scripts/run-command-conditionally.sh npm run unit
- timeout 15m ./scripts/npm-bdd-split-files.sh
notifications:
email: false
slack:
on_success: change
on_failure: change
rooms:
- secure: Q8OJnQnA0a7pbVBOxwjOGhrwDXPkSGODndxFdeNI3Pfi2qgV+8AE/vJvKRlOw4Dv5BshdCD8ObAd4rU+bwjpRNt81fL7taIssOZ8YyeE34FAqo/ykLUXdIliuVWoCuT0H+OWKkSAhp6ltCG4rXOAUfuowUfb0d031YRWiu22jiI=