ci: fix the chrome setup on travis mac (#445)

* ci: fix chrome config on mac

* ci: fix chrome config on mac

* ci: fix chrome config on mac
This commit is contained in:
Róbert Kiss
2017-10-14 00:33:05 +02:00
committed by László Monda
parent 7baf9ad009
commit 235034bc68

View File

@@ -32,9 +32,11 @@ install:
- npm install
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sleep 3 # give xvfb some time to start
- 'if [ ${TRAVIS_OS_NAME} = "linux" ]; then
export DISPLAY=:99.0;
sh -e /etc/init.d/xvfb start;
sleep 3;
fi'
- npm run build
- npm run lint