mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 01:36:22 +00:00
Change to separation osx and linux
This commit is contained in:
32
.travis.yml
32
.travis.yml
@@ -1,11 +1,23 @@
|
||||
language: node_js
|
||||
os:
|
||||
- linux
|
||||
- osx
|
||||
node_js:
|
||||
- 'stable'
|
||||
- 'lts/*'
|
||||
script:
|
||||
- 'npm run lint'
|
||||
- 'npm run test'
|
||||
- 'if [[ ${TRAVIS_BRAHCN} = "master" && ${TRAVIS_NODE_VERSION} = "stable" ]]; then ./script/e2e-runner.sh; fi'
|
||||
matrix:
|
||||
include:
|
||||
- os: osx
|
||||
install:
|
||||
- 'if [[ ${TRAVIS_PULL_REQUEST_BRANCH:-TRAVIS_BRANCH} = "master" ]]; then yarn; fi'
|
||||
node_js:
|
||||
- 'stable'
|
||||
- 'lts/*'
|
||||
script:
|
||||
- 'if [[ ${TRAVIS_PULL_REQUEST_BRANCH:-TRAVIS_BRANCH} = "master" && ${TRAVIS_NODE_VERSION} = "stable" ]]; then
|
||||
npm run lint;
|
||||
npm run test;
|
||||
./script/e2e-runner.sh;
|
||||
fi'
|
||||
- os: linux
|
||||
node_js:
|
||||
- 'stable'
|
||||
- 'lts/*'
|
||||
script:
|
||||
- 'npm run lint'
|
||||
- 'npm run test'
|
||||
- 'if [[ ${TRAVIS_PULL_REQUEST_BRANCH:-TRAVIS_BRANCH} = "master" && ${TRAVIS_NODE_VERSION} = "stable" ]]; then ./script/e2e-runner.sh; fi'
|
||||
|
||||
Reference in New Issue
Block a user