activity-stream/.travis.yml

35 строки
739 B
YAML

language: node_js
node_js:
- "5.5.0"
cache:
directories:
- node_modules
addons:
firefox: latest-beta
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"
- sleep 3
install:
- npm config set spin false
- npm install
before_script:
- export FIREFOX_BIN=`which firefox`
- export JPM_FIREFOX_BINARY=`which firefox`
- firefox -v
- echo $JPM_FIREFOX_BINARY
script:
- npm run bundle
- npm run travis
notifications:
email: false