Skip to content
This repository was archived by the owner on Apr 26, 2019. It is now read-only.

Commit d7440a5

Browse files
committed
chore(travis): initial version
1 parent 03f2c60 commit d7440a5

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.travis.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
sudo: false
2+
language: node_js
3+
cache:
4+
directories:
5+
- node_modules
6+
notifications:
7+
email: false
8+
node_js:
9+
- '0.10'
10+
script: npm run $COMMAND
11+
before_install:
12+
- npm i -g npm@^2.0.0
13+
before_script:
14+
- npm prune
15+
- 'curl -Lo travis_after_all.py https://git.io/vLSON'
16+
after_success:
17+
- python travis_after_all.py
18+
- export $(cat .to_export_back)
19+
- if [[ $COMMAND = test:coverage ]]; then npm run test:coverage:upload; fi
20+
- npm run semantic-release
21+
env:
22+
matrix:
23+
- NODE=0.10 COMMAND=test:coverage
24+
- NODE=0.10 COMMAND=test
25+
- NODE=0.12 COMMAND=test
26+
- NODE=iojs-v1 COMMAND=test
27+
- NODE=iojs-v2 COMMAND=test

0 commit comments

Comments
 (0)