Update .travis.yml

This commit is contained in:
Aya Morisawa 2017-02-28 20:41:16 +09:00
parent 75a7ad9dae
commit b4c7005b91

View file

@ -6,6 +6,21 @@ language: node_js
node_js: node_js:
- "7.6.0" - "7.6.0"
env:
- CXX=g++-4.8 NODE_ENV=production
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
- graphicsmagick
cache:
directories:
- node_modules
services: services:
- mongodb - mongodb
- redis-server - redis-server
@ -28,19 +43,4 @@ after_success:
- git config --global user.email "AyaMorisawa4869@gmail.com" - git config --global user.email "AyaMorisawa4869@gmail.com"
- git config --global user.name "Aya Morisawa" - git config --global user.name "Aya Morisawa"
- git commit -m "Release build for $TRAVIS_COMMIT" - git commit -m "Release build for $TRAVIS_COMMIT"
- if [ $TRAVIS_BRANCH = "master" ]; then git push -f git@github.com:syuilo/misskey release; fi - if [ $TRAVIS_BRANCH = "master" ] && [ $TRAVIS_PULL_REQUEST != "false" ]; then git push -f git@github.com:syuilo/misskey release; fi
env:
- CXX=g++-4.8 NODE_ENV=production
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
- graphicsmagick
cache:
directories:
- node_modules