-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path.travis.yml
39 lines (34 loc) · 1.76 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
32
33
34
35
36
37
38
39
# https://travis-ci.org/tgbugs/sparc-curation
sudo: false
language: python
env:
global:
- SCIGRAPH_API=https://scicrunch.org/api/1/sparc-scigraph
- secure: ByJNyHHRiFi23IYmw9mtXsMP6m3NNrl5an+LYXQlJzZFYn7TFBRGiPwWooukazITCa8OTYduR2K/sqsih5hHvDSxSP9vnLGOrNN1hGCUa1zb+j7fwVzNIX/Jx+BsGQ8Sf0Je01SDk+SRTPUsbaCXl4QcV5ray8iEHuj1XyNpfrEpN9LSGANgX5Uor/5V4N2uoRr/ub00tBqjO1rV1MeXaJAMlhd/ErXfMNperC9v9mOOKJc/sI6iOO1nZuf8+TQ87VFiNjr2u//HtxrZRMeq2mNUW+Ixx9GUMdHo5iC7bbLPbKdYmJ3MAfSiJJIa4mPSyIxZztpPnp1StcJNnxsozX3xTiHkUxQoMx8IiRGoxRFD3PVydPrbxM3dKkCjqS59DcUJ2ehdaMnQP1Odax4tG8RJB9D7D9EVWhQ81flwITC8JDCeturF6L/wHE87mKxdBD+63xo7SAMix2WTOkHvjhR3gHN3/w3f8J3CPFyNszH3M3AuOVwAlo/m05hQWDQVK9fE24ogCz+yZ039KLxo9dElj57WVI4juIyuGZ16z8BgqIjl1XlpKIrPM1VpCqwddkC96RlR3Fh3HOWAwt6y67ekiHMDCCld/9zlNN6WLkEyrV0d3sqJVx3eGDnDLzWok6Mwn9VomFvgm5OwdnUSk6jFNs7rSZwyIFWvAG5qA+I=
branches:
only:
- master
git:
depth: 3
python:
- 3.6
- 3.7
- 3.8
install:
- pip install --upgrade pytest pytest-cov
- pip install coverage coveralls && export HAS_COVERALLS=1
- pip install augpathlib
- pip install git+https://github.com/tgbugs/augpathlib.git
- pip install git+https://github.com/tgbugs/pyontutils.git#subdirectory=htmlfn
- pip install git+https://github.com/tgbugs/pyontutils.git#subdirectory=ttlser
- pip install git+https://github.com/tgbugs/pyontutils.git
- pip install git+https://github.com/tgbugs/protc.git#subdirectory=protcur
- pip install git+https://github.com/tgbugs/parsercomb.git
- pip install -e .
script:
- pytest --cov=sparcur
after_success:
- if [[ $HAS_COVERALLS && $TRAVIS_PYTHON_VERSION == 3.7 ]] ; then coveralls ; fi
after_failure:
# for now we want converage even if things fail
- if [[ $HAS_COVERALLS && $TRAVIS_PYTHON_VERSION == 3.7 ]] ; then coveralls ; fi