mirror of
https://github.com/google/material-design-lite.git
synced 2024-09-11 12:25:38 +03:00
An attempt to fix phantomjs-based tests in CI
This commit is contained in:
parent
b99b01b54a
commit
b1f840d3b6
@ -11,15 +11,16 @@ build:
|
||||
- DISPLAY=:99
|
||||
commands:
|
||||
- Xvfb $DISPLAY &
|
||||
# gulp mocha:closure inexplicably throws an error w/o without -g phantomjs
|
||||
- npm install -g phantomjs
|
||||
- npm install
|
||||
# ensure the build works
|
||||
# this will also run gulp mocha
|
||||
# build and unit test
|
||||
- gulp all
|
||||
- gulp mocha:closure
|
||||
# additional browser tests
|
||||
# do this after the build and unit tests to fail fast
|
||||
- curl -sSLo chrome.deb $CHROME && dpkg -i chrome.deb
|
||||
- curl -sSLo driver.zip $WEBDRIVER && unzip -q driver.zip -d /usr/bin
|
||||
# run additional tests
|
||||
- node test/memory/test.js
|
||||
#deploy:
|
||||
# bash:
|
||||
|
Loading…
Reference in New Issue
Block a user