Skip to content

Commit 3ba02e3

Browse files
authored
Add CI for macOS.
1 parent 7618abc commit 3ba02e3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.travis.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
1+
os:
2+
- linux
3+
- osx
14
language: node_js
25
node_js:
36
- 8
47
sudo: required
58
addons:
69
chrome: stable
710
before_script:
8-
- export DISPLAY=:99.0
9-
- sh -e /etc/init.d/xvfb start
11+
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start; fi
1012
install:
1113
- npm set progress=false
1214
- npm install

0 commit comments

Comments
 (0)