forked from mozilla/zamboni
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
29 lines (29 loc) · 966 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
language: python
sudo: false
python:
- "2.7"
services:
- redis-server
before_install:
- scripts/travis_es.sh
- /tmp/elasticsearch/elasticsearch-1.3.8/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 --no-deps --exists-action=w --download-cache=/tmp/pip-cache -r requirements/test.txt --find-links https://pyrepo.addons.mozilla.org/wheelhouse/
- npm install
before_script:
- mysql -e 'create database zamboni;'
- flake8 . --exclude='node_modules,commonplace_projects,docs,.git'
- ./manage.py compress_assets
script:
- ./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
- /tmp/pip-cache