-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
33 lines (29 loc) · 878 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
language: python
sudo: false
dist: trusty
python:
- 2.7
notifications:
slack: acmeclimate:LUHYbmd1s5iWBMGakOEweeB1
env:
- DJANGO=1.10.5
before_install:
- export PIP_USE_MIRRORS=true
install:
- wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh;
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda env create --file env.yml
- source activate workbench
- pip install coveralls
- cd workbench-backend
- python manage.py makemigrations
- python manage.py migrate
# - npm install workbench-frontend/package.json
script:
- coverage run --omit=*/migrations/*,*/templatetags/*,workbench/*,manage.py,*/tests.py,*/admin.py,*/__init__.py manage.py test
after_success:
- coveralls