activity-stream/.travis.yml

34 строки
783 B
YAML
Исходник Обычный вид История

2016-02-05 01:09:01 +03:00
language: node_js
node_js:
# when changing this, be sure to edit .nvrmc and package.json too
- 7
2016-02-05 01:09:01 +03:00
python:
- "2.7"
cache:
directories:
- node_modules
2016-02-05 01:09:01 +03:00
before_install:
2016-03-01 21:47:39 +03:00
# see https://docs.travis-ci.com/user/gui-and-headless-browsers/#Using-xvfb-to-Run-Tests-That-Require-a-GUI
2016-02-05 01:09:01 +03:00
- "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"
2016-03-01 21:47:39 +03:00
- sleep 3
2016-02-05 01:09:01 +03:00
install:
- npm config set spin false
- npm install
2016-02-05 01:09:01 +03:00
before_script:
- bash bin/download-firefox-travis.sh release-linux64-add-on-devel
- export FIREFOX_BIN=./firefox/firefox
2016-02-05 01:09:01 +03:00
script:
- npm test
notifications:
email: false