-
Notifications
You must be signed in to change notification settings - Fork 14
/
.travis.yml
41 lines (33 loc) · 1.03 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
30
31
32
33
34
35
36
37
38
39
40
41
sudo: required
language: node_js
addons:
chrome: stable
node_js:
- "14"
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
- export PATH="$HOME/.meteor:$PATH:$(npm bin -g)"
- npm install -g meteor
# Install dependencies
- npm install -g eslint coveralls codecov.io codacy-coverage
- npm list -g
- env
- meteor-installer uninstall
- meteor-installer install
- meteor npm install
services:
- xvfb
script:
- ls "$HOME/.meteor"
- meteor npm test
- sed 's/packages\/meteor-coverage\///' someapp/.coverage/lcov.info | coveralls || true # ignore coveralls error
- sed 's/packages\/meteor-coverage\///' someapp/.coverage/lcov.info | codecov || true # ignore codecov error
- sed 's/packages\/meteor-coverage\///' someapp/.coverage/lcov.info | codacy-coverage || true # ignore codacy error
- meteor npm run lint || true # ignore eslint error