34 строки
780 B
YAML
34 строки
780 B
YAML
language: node_js
|
|
|
|
node_js:
|
|
# when changing this, be sure to edit .nvrmc and package.json too
|
|
- 8
|
|
|
|
python:
|
|
- "2.7"
|
|
|
|
addons:
|
|
# Run unit tests in Nightly to be in line with what Firefox tests would run against
|
|
firefox: "latest-nightly"
|
|
|
|
cache:
|
|
directories:
|
|
- node_modules
|
|
|
|
before_install:
|
|
# see https://docs.travis-ci.com/user/gui-and-headless-browsers/#Using-xvfb-to-Run-Tests-That-Require-a-GUI
|
|
- "export DISPLAY=:99.0"
|
|
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16 -extension RANDR"
|
|
- export PATH="$PATH:$HOME/.rvm/bin"
|
|
- sleep 3
|
|
|
|
install:
|
|
- npm config set spin false
|
|
- npm install
|
|
|
|
script:
|
|
- npm test
|
|
|
|
notifications:
|
|
email: false
|