forked from biocore/labadmin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
28 lines (28 loc) · 838 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
language: python
python:
- "2.7"
sudo: false
services:
- redis-server
addons:
postgresql: "9.3"
before_install:
- redis-server --version
install:
- pip install --upgrade pip
- pip install click natsort coverage coveralls
- travis_retry pip install .[test]
script:
- git clone https://github.com/biocore/american-gut-web.git ~/build/biocore/american-gut-web
- cd /home/travis/build/biocore/american-gut-web
- export AG_CONFIG=`pwd`/ag_config.txt.example
- export PYTHONPATH=/home/travis/build/biocore/american-gut-web:$PYTHONPATH
- ./scripts/ag make test
- export PYTHONPATH=
- $PYTHONPATH
- cd $TRAVIS_BUILD_DIR
- cp $TRAVIS_BUILD_DIR/knimin/config.txt.example $TRAVIS_BUILD_DIR/knimin/config.txt
- nosetests --with-doctest --with-coverage
- flake8 knimin setup.py scripts
after_success:
- coveralls