addons-server/.travis.yml

85 строки
1.6 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:
global:
- secure: "bYe6WOTAnlS8Ru4ODWSSOnHffxcN23NkKZh4M0eO510HvZGCMB4zZn8afiVKGXd1YqsoRfMXTBZJ0yBcFEvWnyH7S4kd+7d1PpNS4kgLVKtLCW5d7Wc5GA6uh1jWLS+zKFBNN5sZ8OVc7rCsLCBRDEoI94wBKYwDX2Kk1WKylz8="
- AUTOGRAPH_SERVER_URL: http://localhost:5500
matrix:
- TOXENV=codestyle
- TOXENV=docs
- TOXENV=assets
- TOXENV=es
- TOXENV=addons
- TOXENV=devhub
- TOXENV=reviewers
- TOXENV=amo-locales-and-signing
- TOXENV=users-and-accounts
- TOXENV=main
cache:
pip: true
directories:
- node_modules
- $HOME/.gimme
services:
- mysql
2014-08-07 15:11:48 +04:00
- memcached
- elasticsearch
- redis
addons:
apt:
sources:
- elasticsearch-5.x
packages:
- swig
- oracle-java8-set-default
- elasticsearch
- gettext
2014-08-07 15:11:48 +04:00
before_install:
- mysql -e 'create database olympia;'
- export GOPATH=$HOME/go
- export PATH=$HOME/usr/local/go/bin:$GOPATH/bin:$PATH
2014-08-07 15:11:48 +04:00
install:
- nvm current
- nvm deactivate
2017-05-08 15:50:18 +03:00
- nvm install 6
- nvm use 6
- pip install --upgrade pip wheel setuptools tox==2.9.1
2014-08-07 15:11:48 +04:00
before_script:
- mysql --version
- node --version
- java -version
- curl -v http://localhost:9200/
2014-08-07 15:11:48 +04:00
script:
- |
if [[ $TRAVIS_EVENT_TYPE != "cron" ]]; then
if [[ $TOXENV == "amo-locales-and-signing" ]]; then
./scripts/start-autograph.sh
fi
RUNNING_IN_CI=True tox -v
fi
- |
if [[ $TRAVIS_EVENT_TYPE == "cron" ]]; then
bash scripts/travis-extract-l10n.sh
fi
2014-08-07 15:11:48 +04:00
notifications:
irc:
channels:
- "irc.mozilla.org#amo-bots"
on_success: change
on_failure: always
git:
depth: 1