forked from serut/meteor-coverage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
30 lines (24 loc) · 867 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
language: node_js
node_js:
- 4.4.7
cache:
directories:
- $HOME/.meteor
- $HOME/.npm
before_cache:
- rm -f $HOME/.meteor/log/*.log
before_install:
# Download Meteor - Keep in mind that you need
# to remove your travis cache to get meteor updates
- PATH=$PATH:$HOME/.meteor
- if [ ! -e $HOME/.meteor/meteor ]; then curl https://install.meteor.com | sh; fi
# Install dependencies
- npm install -g eslint coveralls codecov.io codacy-coverage
- meteor npm install
script:
- mkdir .coverage
- meteor npm test
- cat .coverage/lcov.info | coveralls || cat .coverage/lcov.info || true # ignore coveralls error
- cat .coverage/lcov.info | codecov || cat .coverage/lcov.info || true # ignore codecov error
- cat .coverage/lcov.info | codacy-coverage || true # ignore codacy error
- meteor npm run lint || true # ignore eslint error