forked from mozilla/bedrock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (36 loc) · 1.08 KB
/
.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
sudo: false
language: python
python:
- "2.7"
branches:
only:
- master
cache:
directories:
- $HOME/.cache/pip
before_script:
- flake8 bedrock lib
- python manage.py runscript check_calendars
- mysql -e 'create database bedrock_test;'
- python manage.py version
- python manage.py migrate --noinput
- python manage.py collectstatic --noinput -v 0
- travis_retry python manage.py update_product_details
- travis_retry svn checkout https://svn.mozilla.org/projects/mozilla.com/trunk/locales/ locale
script: coverage run manage.py test
before_install:
- travis_retry git submodule update --init --recursive
install:
- travis_retry python bin/peep.py install -r requirements/pip.txt --no-use-wheel
- travis_retry python bin/peep.py install -r requirements/dev.txt --no-use-wheel
- travis_retry python bin/peep.py install -r requirements/prod.txt --no-use-wheel
after_success:
- travis_retry pip install coveralls
- travis_retry coveralls
notifications:
irc:
channels:
- "irc.mozilla.org#www"
on_success: change
on_failure: always
use_notice: true