forked from nasa-jpl-memex/memex-explorer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (32 loc) · 897 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
37
38
39
40
sudo: false
language: python
python:
- "2.7"
branches:
only:
- master
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
install:
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- conda config --set always_yes yes
- conda env create -n memex -f environment.yml
- source activate memex
- cp source/memex/settings_files/dev_settings.py source/memex/settings.py
- redis-server &
- cd source
- celery -A memex worker -l info &
- cd ../
script:
- coverage run $(which py.test)
- coverage report --show-missing
after_success:
- coveralls
notifications:
email: false
flowdock: "8736cc7601ed0761f6c9339ec747ded6"
on_success: "change"
on_failure: "always"