addons-server/.travis.yml

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

2014-08-07 15:11:48 +04:00
language: python
sudo: false
2014-08-07 15:11:48 +04:00
python:
- "2.6"
2014-11-19 19:36:40 +03:00
env:
- TOX_ENV=flake8
- TOX_ENV=docs
2014-12-18 13:52:39 +03:00
- TOX_ENV=assets
2014-11-19 19:36:40 +03:00
- TOX_ENV=es
- TOX_ENV=addons-devhub-editors
- TOX_ENV=main
services:
2014-08-07 15:11:48 +04:00
- memcached
before_install:
- scripts/travis_es.sh
- /tmp/elasticsearch/elasticsearch-1.3.2/bin/elasticsearch -d -D es.path.data=/tmp -D es.gateway.type=none -D es.index.store.type=memory -D es.discovery.zen.ping.multicast.enabled=false
2014-08-07 15:11:48 +04:00
install:
2014-11-19 19:36:40 +03:00
- pip install tox
2014-08-07 15:11:48 +04:00
before_script:
- mysql -e 'create database olympia;'
script:
2014-12-19 17:58:50 +03:00
- RUNNING_IN_CI=True tox -v -e $TOX_ENV --recreate
2014-08-07 15:11:48 +04:00
notifications:
irc:
channels:
- "irc.mozilla.org#amo-bots"
on_success: change
on_failure: always