forked from nrwl/nx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
39 lines (33 loc) · 790 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
matrix:
include:
- os: linux
language: node_js
node_js: 8.9.3
dist: trusty
sudo: required
- os: windows
language: node_js
node_js: 8.9.3
before_install:
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then
export DISPLAY=:99.0;
sh -e /etc/init.d/xvfb start;
fi
install:
- yarn install --network-timeout 1000000 # Timeout needed for Windows (really slow)
script:
- yarn test
- yarn e2e
- 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then yarn checkformat --head=$TRAVIS_PULL_REQUEST_SHA --base=$(git merge-base HEAD $TRAVIS_BRANCH); fi'
- yarn checkcommit
addons:
chrome: stable
cache:
directories:
- node_modules
notifications:
email: false
webhooks:
on_success: true
on_failure: true
on_start: true