Add CI for macOS.

This commit is contained in:
Tomoyuki Aota
2019-01-26 23:28:05 +09:00
committed by GitHub
parent 7618abcea4
commit 3ba02e3b67

View File

@@ -1,3 +1,6 @@
os:
- linux
- osx
language: node_js
node_js:
- 8
@@ -5,8 +8,7 @@ sudo: required
addons:
chrome: stable
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start; fi
install:
- npm set progress=false
- npm install