1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-14 02:06:29 +00:00

Merge pull request #541 from asmsuechan/fix-travis-for-spectron

Fix viriables for travis
This commit is contained in:
SuenagaRyota
2017-05-03 09:45:24 -07:00
committed by GitHub

View File

@@ -3,12 +3,12 @@ matrix:
include: include:
- os: osx - os: osx
install: install:
- 'if [[ ${TRAVIS_PULL_REQUEST_BRANCH:-TRAVIS_BRANCH} = "master" ]]; then yarn; fi' - 'if [[ ${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH} = "master" ]]; then yarn; fi'
node_js: node_js:
- 'stable' - 'stable'
- 'lts/*' - 'lts/*'
script: script:
- 'if [[ ${TRAVIS_PULL_REQUEST_BRANCH:-TRAVIS_BRANCH} = "master" && ${TRAVIS_NODE_VERSION} = "stable" ]]; then - 'if [[ ${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH} = "master" && ${TRAVIS_NODE_VERSION} = "stable" ]]; then
npm run lint; npm run lint;
npm run test; npm run test;
./script/e2e-runner.sh; ./script/e2e-runner.sh;
@@ -20,4 +20,4 @@ matrix:
script: script:
- 'npm run lint' - 'npm run lint'
- 'npm run test' - 'npm run test'
- 'if [[ ${TRAVIS_PULL_REQUEST_BRANCH:-TRAVIS_BRANCH} = "master" && ${TRAVIS_NODE_VERSION} = "stable" ]]; then ./script/e2e-runner.sh; fi' - 'if [[ ${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH} = "master" && ${TRAVIS_NODE_VERSION} = "stable" ]]; then ./script/e2e-runner.sh; fi'