build(nx): parallelize ci job
This commit is contained in:
parent
6516176b65
commit
16a4e8d1f2
41
.travis.yml
41
.travis.yml
@ -7,23 +7,30 @@ matrix:
|
|||||||
sudo: required
|
sudo: required
|
||||||
addons:
|
addons:
|
||||||
chrome: stable
|
chrome: stable
|
||||||
|
before_install:
|
||||||
before_install:
|
- export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start;
|
||||||
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then
|
install:
|
||||||
export DISPLAY=:99.0;
|
- yarn install --network-timeout 1000000
|
||||||
sh -e /etc/init.d/xvfb start;
|
script:
|
||||||
fi
|
- 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then yarn checkformat --head=$TRAVIS_PULL_REQUEST_SHA --base=$(git merge-base HEAD $TRAVIS_BRANCH); fi'
|
||||||
|
- yarn checkcommit
|
||||||
install:
|
- yarn checkimports
|
||||||
- yarn install --network-timeout 1000000 # Timeout needed for Windows (really slow)
|
- yarn documentation
|
||||||
|
- yarn test:all
|
||||||
script:
|
- os: linux
|
||||||
- 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then yarn checkformat --head=$TRAVIS_PULL_REQUEST_SHA --base=$(git merge-base HEAD $TRAVIS_BRANCH); fi'
|
language: node_js
|
||||||
- yarn test:all
|
node_js: 10
|
||||||
- yarn e2e
|
dist: trusty
|
||||||
- yarn checkcommit
|
sudo: required
|
||||||
- yarn checkimports
|
addons:
|
||||||
- yarn documentation
|
chrome: stable
|
||||||
|
before_install:
|
||||||
|
- export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start;
|
||||||
|
install:
|
||||||
|
- yarn install --network-timeout 1000000
|
||||||
|
script:
|
||||||
|
- 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then yarn checkformat --head=$TRAVIS_PULL_REQUEST_SHA --base=$(git merge-base HEAD $TRAVIS_BRANCH); fi'
|
||||||
|
- yarn e2e
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user