From b4c7005b918161e9cfc3720664c54e69c92b2cf8 Mon Sep 17 00:00:00 2001 From: Aya Morisawa Date: Tue, 28 Feb 2017 20:41:16 +0900 Subject: [PATCH] Update .travis.yml --- .travis.yml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.travis.yml b/.travis.yml index dcfbff05c..0c9cc611b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,21 @@ language: node_js node_js: - "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: - mongodb - redis-server @@ -28,19 +43,4 @@ after_success: - git config --global user.email "AyaMorisawa4869@gmail.com" - git config --global user.name "Aya Morisawa" - git commit -m "Release build for $TRAVIS_COMMIT" - - if [ $TRAVIS_BRANCH = "master" ]; 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 + - if [ $TRAVIS_BRANCH = "master" ] && [ $TRAVIS_PULL_REQUEST != "false" ]; then git push -f git@github.com:syuilo/misskey release; fi