forked from mdn/kuma
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
36 lines (36 loc) · 884 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
31
32
33
34
35
36
cache:
- apt
- directories:
- ~/.cache/pip
language: python
python:
- "2.6"
services:
- memcached
env:
matrix:
- TOXENV=py26
- TOXENV=flake8
- TOXENV=docs
global:
- PIP_WHEEL_DIR=$HOME/.cache/pip/wheels
- PIP_FIND_LINKS=file://$HOME/.cache/pip/wheels
- DJANGO_SETTINGS_MODULE=settings_travis
- DEBIAN_FRONTEND=noninteractive
before_install: scripts/travis-install
install:
- pip wheel -r requirements/compiled.txt -r requirements/dev.txt coveralls
- pip install coveralls tox==1.9.2
before_script: mysql -e 'create database kuma;'
script: tox -v
after_success: coveralls
notifications:
irc:
channels:
- "irc.mozilla.org#mdndev"
on_success: always
on_failure: always
use_notice: true
matrix:
allow_failures:
- env: TOXENV=flake8