-
Notifications
You must be signed in to change notification settings - Fork 163
/
.travis.yml
30 lines (30 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
language: python
services:
- mongodb
python:
- "2.7"
before_install:
- mysql -e 'create database formhub_test;'
- sudo apt-get install gfortran libatlas-base-dev libjpeg-dev zlib1g-dev
# See https://gist.github.com/dan-blanchard/7045057
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b
- export PATH=/home/travis/miniconda/bin:$PATH
- conda update --yes conda
- conda create --yes -n condaenv python=2.7
- conda install --yes -n condaenv pip
- source activate condaenv
- sudo rm -rf /dev/shm
- sudo ln -s /run/shm /dev/shm
install:
- conda install --yes python=$TRAVIS_PYTHON_VERSION numpy pandas=0.12.0
- pip install -r requirements.pip
- pip install -r requirements-mysql.pip
- python manage.py syncdb --noinput
- python manage.py migrate --noinput
script:
- python manage.py test --noinput --settings=formhub.preset.travis_test
- ./js_tests/EnvJasmine/bin/run_all_tests.sh --testDir=../ --configFile=../env_jasmine.conf.js
notifications:
irc: "irc.freenode.org#sel-columbia"