зеркало из https://github.com/mozilla/airmozilla.git
42 строки
916 B
YAML
42 строки
916 B
YAML
# http://travis-ci.org/#!/mozilla/airmozilla
|
|
|
|
# So that we can start elasticsearch
|
|
sudo: true
|
|
|
|
env: PIP_DOWNLOAD_CACHE="pip_cache"
|
|
cache:
|
|
directories:
|
|
- pip_cache
|
|
|
|
language: python
|
|
|
|
python:
|
|
- 2.7
|
|
|
|
services:
|
|
- elasticsearch
|
|
|
|
before_install:
|
|
- 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
|
|
install: bin/travis/install.sh
|
|
before_script:
|
|
- bin/travis/lint.sh
|
|
- bin/travis/setup.sh
|
|
script:
|
|
- bin/travis/test.sh
|
|
|
|
notifications:
|
|
irc:
|
|
channels:
|
|
- "irc.mozilla.org#airmozilla-dev"
|
|
on_success: always
|
|
on_failure: always
|
|
webbooks:
|
|
http://leeroybot.lonnen.com/hubot/travis?room=%23airmozilla-dev
|
|
|
|
after_success:
|
|
# Report coverage results to coveralls.io
|
|
- pip install coveralls
|
|
- coveralls
|