addons-server/.travis.yml

66 строки
1.1 KiB
YAML

language: python
sudo: false
python:
- "2.7"
env:
- TOXENV=flake8
- TOXENV=docs
- TOXENV=assets
- TOXENV=es
- TOXENV=addons
- TOXENV=devhub
- TOXENV=editors
- TOXENV=amo
- TOXENV=users
- TOXENV=main
matrix:
fast_finish: true
cache:
pip: true
directories:
- node_modules
- .tox
services:
- memcached
addons:
apt:
packages:
- swig
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
install:
- nvm current
- nvm deactivate
- nvm install 4
- nvm use 4
- pip install --upgrade pip wheel setuptools tox==1.8.1
before_script:
- mysql -e 'create database olympia;'
- node --version
script:
- RUNNING_IN_CI=True tox -v
notifications:
irc:
channels:
- "irc.mozilla.org#amo-bots"
on_success: change
on_failure: always
webhooks:
# trigger Buildtime Trend Service to parse Travis CI log
- https://buildtimetrend.herokuapp.com/travis
git:
depth: 3