forked from testem/testem
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (43 loc) · 834 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
40
41
42
43
os:
- osx
- linux
osx_image: xcode8
addons:
apt:
packages:
- xvfb
language: node_js
node_js:
- "0.10"
- "0.12"
- "4"
- "6"
- "7"
matrix:
fast_finish: true
include:
- os: osx
node_js: "6"
- os: linux
node_js: "6"
env: BROWSER_TESTS=1 SAUCE_USERNAME=testem-ci SAUCE_ACCESS_KEY=1f00979e-0252-4d69-98ff-f6c85d1a746b
exclude:
- os: osx
sudo: false
before_install:
- if [ $TRAVIS_OS_NAME == "osx" ]; then
brew update;
brew install phantomjs;
fi
- npm config set spin false
install:
- export DISPLAY=':99.0'
- Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
- travis_retry npm install
before_script:
- if [ $TRAVIS_OS_NAME == "linux" ] && [ $TRAVIS_NODE_VERSION == "4" ]; then
npm run lint;
fi
script:
- npm run test
- npm run integration