addons-server/.travis.yml

67 строки
1.2 KiB
YAML
Исходник Обычный вид История

2014-08-07 15:11:48 +04:00
language: python
sudo: false
2014-08-07 15:11:48 +04:00
python:
- "2.7"
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
- TOX_ENV=main
2016-03-31 18:35:54 +03:00
- TOX_ENV=addons
- TOX_ENV=devhub
- TOX_ENV=editors
- TOX_ENV=es
matrix:
fast_finish: true
cache:
directories:
- node_modules
- $HOME/.cache/pip/
services:
2014-08-07 15:11:48 +04:00
- memcached
addons:
apt:
packages:
- swig
2014-08-07 15:11:48 +04:00
before_install:
- scripts/travis_es.sh
- /tmp/elasticsearch/elasticsearch-1.6.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:
- nvm current
- nvm deactivate
- nvm install 4
- nvm use 4
- pip install --upgrade pip wheel coverage codecov
- pip install tox==1.8.1
2014-08-07 15:11:48 +04:00
before_script:
- mysql -e 'create database olympia;'
- node --version
2014-08-07 15:11:48 +04:00
script:
- coverage erase
- RUNNING_IN_CI=True tox -v -e $TOX_ENV --recreate
- coverage combine
2014-08-07 15:11:48 +04:00
notifications:
irc:
channels:
- "irc.mozilla.org#amo-bots"
on_success: change
on_failure: always
2016-03-18 14:21:53 +03:00
webhooks:
# trigger Buildtime Trend Service to parse Travis CI log
- https://buildtimetrend.herokuapp.com/travis
after_success:
- coverage report
- codecov