This repository was archived by the owner on Jan 22, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -7,10 +7,12 @@ notifications:
7
7
node_js :
8
8
- iojs
9
9
before_install :
10
+ - " curl -L https://raw.githubusercontent.com/arunoda/travis-ci-meteor-packages/master/configure.sh | /bin/sh"
10
11
- " npm install"
11
12
- " export DISPLAY=:99.0"
12
13
- " sh -e /etc/init.d/xvfb start"
13
14
before_script :
15
+ - " export PATH=$HOME/.meteor:$PATH"
14
16
- " npm prune"
15
17
script :
16
18
- " npm run test"
@@ -19,3 +21,4 @@ after_success:
19
21
- " npm run coverage:codecov"
20
22
- " npm run coverage:coveralls"
21
23
- " npm run coverage:codacy"
24
+ - if ([ "$TRAVIS_BRANCH" == "master" ] || [ ! -z "$TRAVIS_TAG" ]) && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then npm run publish; fi
Original file line number Diff line number Diff line change 13
13
"coverage:codecov" : " cat ./coverage/lcov.info | node_modules/.bin/codecov" ,
14
14
"coverage:coveralls" : " cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js" ,
15
15
"coverage:codacy" : " cat ./coverage/lcov.info | ./node_modules/.bin/codacy-coverage" ,
16
- "test" : " karma start karma.conf.js --set-env-NODE_ENV=ci"
16
+ "test" : " karma start karma.conf.js --set-env-NODE_ENV=ci" ,
17
+ "publish:meteor" : " meteor publish" ,
18
+ "publish" : " npm run publish:meteor"
17
19
},
18
20
"repository" : {
19
21
"type" : " git" ,
You can’t perform that action at this time.
0 commit comments