forked from kbaseattic/data_api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
43 lines (34 loc) · 1.06 KB
/
.travis.yml
File metadata and controls
43 lines (34 loc) · 1.06 KB
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
41
42
43
language: python
python:
- "2.7"
sudo: false
cache:
directories:
- $HOME/.cache/pip
before_install:
- redis-server redis.conf &
install:
- pip install -r requirements.txt
- python setup.py install -vv
before_script:
- printf "Build dir = $TRAVIS_BUILD_DIR\n"
- data_api_start_service.py --config deployment.cfg --service taxon --port 9101 >taxon.out 2>&1 &
- data_api_start_service.py --config deployment.cfg --service assembly --port 9102 >assembly.out 2>&1 &
- data_api_start_service.py --config deployment.cfg --service genome_annotation --port 9103 >ga.out 2>&1 &
script:
- coverage run `which nosetests` -c nose.cfg -c nose-local.cfg
- coverage report --skip-covered
env:
- KB_DEPLOY_URL="dir_cache"
- KB_DEPLOY_URL="dir_nocache"
# - KB_REDIS_HOST=localhost; KB_NOSE_CFG=nose-ci.cfg
# - KB_REDIS_HOST=""; KB_NOSE_CFG=nose-ci.cfg
after_success:
- codecov
# - kill $(cat taxonAPI.pid)
# - kill $(cat assemblyAPI.pid)
# - kill $(cat genome_annotationAPI.pid)
after_failure:
- cat taxon.out
- cat assembly.out
- cat ga.out