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 - npm install
before_script: before_script:
- export DISPLAY=:99.0 - 'if [ ${TRAVIS_OS_NAME} = "linux" ]; then
- sh -e /etc/init.d/xvfb start export DISPLAY=:99.0;
- sleep 3 # give xvfb some time to start sh -e /etc/init.d/xvfb start;
sleep 3;
fi'
- npm run build - npm run build
- npm run lint - npm run lint