forked from FriskByBergen/friskby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
29 lines (24 loc) · 818 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
python:
- "2.7"
install:
# All these conda hoops are just there to install pandas, which is
# very little used. If panda usage does not increase I guess it
# should be removed.
- wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh;
- bash miniconda.sh -b -p $HOME/miniconda
- export CONDA_HOME="$HOME/miniconda"
- export PATH="$CONDA_HOME/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda install pandas numpy
- pip install -r requirements-travis.txt
env:
global:
- DJANGO_SETTINGS_MODULE=friskby.settings
- DATABASE_URL=sqlite:////$TRAVIS_BUILD_DIR/db.sqlite
- FRISKBY_DEBUG=True
- TZ=Europe/Oslo
script:
- python manage.py test