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:
committed by
László Monda
parent
7baf9ad009
commit
235034bc68
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user