forked from mozilla/zamboni
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
30 lines (30 loc) · 967 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
language: python
sudo: false
python:
- "2.7"
services:
- redis-server
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:
- pip install -U pip wheel
- pip install --no-deps -r requirements/test.txt --find-links https://pyrepo.stage.mozaws.net/wheelhouse/
- npm install
before_script:
- mysql -e 'create database zamboni;'
- flake8 . --exclude='node_modules,commonplace_projects,docs,.git,migrations'
- ./manage.py compress_assets
script:
- REUSE_DB=1 ./manage.py test lib mkt --noinput --logging-clear-handlers --with-blockage --with-nicedots
notifications:
irc:
channels:
- "irc.mozilla.org#amo-bots"
on_success: change
on_failure: always
cache:
directories:
- node_modules
- /tmp/elasticsearch
- $HOME/.cache/pip