forked from mozilla/badges.mozilla.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
26 lines (20 loc) · 905 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
language: python
python:
- "2.7"
env:
- DB=mysql
before_install:
- sudo apt-get update -qq
- sudo apt-get install build-essential python-dev python-pip python-virtualenv python-imaging mysql-server libmysqlclient-dev libxml2-dev libxslt-dev memcached libjpeg8 libjpeg62-dev libfreetype6 libfreetype6-dev zlib1g-dev python-jinja2 python-bcrypt python-mysqldb
- sudo ln -s /usr/lib/`uname -i`-linux-gnu/libfreetype.so /usr/lib
- sudo ln -s /usr/lib/`uname -i`-linux-gnu/libz.so /usr/lib
- git submodule update --init --recursive
- cp badgus/settings/local.py-travis badgus/settings/local.py
- mysql -e 'create database badgus;'
install:
- pip install -r requirements/compiled.txt --use-mirrors
- pip install -r requirements/dev.txt --use-mirrors
script: python manage.py test -v2 badgus.badger_api.tests
notifications:
email: