An attempt to fix phantomjs-based tests in CI

This commit is contained in:
alex 2015-12-09 22:19:15 +00:00
parent b99b01b54a
commit b1f840d3b6

View File

@ -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: