-
Notifications
You must be signed in to change notification settings - Fork 19
/
.travis.yml
31 lines (29 loc) · 1.05 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
31
language: python
sudo: true
cache: pip
dist: xenial
python:
- '3.7'
install:
- pip install tox codecov
script:
- travis_wait tox
after_success:
- tox -e coverage-report
# TODO move all tests into tests/ and then they will get run together.
#install:
# - pip install -r requirements.txt
# - pip install pytest==5.2.0
# - python -m spacy download en_core_web_sm
# TODO write code that downloads resources on its own!
# - wget -O src/relation_extraction_model/transformer_dir/tf_model.h5 https://storage.googleapis.com/coronaviruspublicdata/re_final_best/new/tf_model.h5
# - wget -O src/relation_extraction_model/transformer_dir/weight.pickle https://storage.googleapis.com/coronaviruspublicdata/re_final_best/new/sigmoid.pickle
# commands to run tests
#script:
# - python -m pytest utils
# - python src/relation_extraction_model/model_tests.py
# - python -m pytest covid_mechanism_kg
# - python -m pytest drug_treatment_extraction
# - python -m pytest main_pipeline
# - python -m pytest model_organism_extraction
# - python -m pytest paper_evidence_annot