Update .travis.yml
This commit is contained in:
parent
c662726259
commit
698da8297a
13
.travis.yml
13
.travis.yml
|
@ -4,14 +4,10 @@
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
|
|
||||||
branches:
|
|
||||||
except:
|
|
||||||
- release
|
|
||||||
|
|
||||||
language: node_js
|
language: node_js
|
||||||
|
|
||||||
node_js:
|
node_js:
|
||||||
- 8.4.0
|
- 9.8.0
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- CXX=g++-4.8 NODE_ENV=production
|
- CXX=g++-4.8 NODE_ENV=production
|
||||||
|
@ -45,9 +41,4 @@ before_script:
|
||||||
- cp ./.travis/default.yml ./.config
|
- cp ./.travis/default.yml ./.config
|
||||||
- cp ./.travis/test.yml ./.config
|
- cp ./.travis/test.yml ./.config
|
||||||
|
|
||||||
- npm run build
|
- travis_wait npm run build
|
||||||
|
|
||||||
after_success:
|
|
||||||
# リリース
|
|
||||||
- chmod u+x ./.travis/release.sh
|
|
||||||
- if [ $TRAVIS_BRANCH = "master" ] && [ $TRAVIS_PULL_REQUEST = "false" ]; then ./.travis/release.sh; else echo "Skipping releasing task"; fi
|
|
||||||
|
|
Loading…
Reference in a new issue