forked from tgbugs/pyontutils
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
50 lines (44 loc) · 1.32 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
40
41
42
43
44
45
46
47
48
49
50
# https://travis-ci.org/tgbugs/pyontutils
sudo: false
language: python
env:
global:
- NIFSTD_CHECKOUT_OK=1
- PIPENV_VENV_IN_PROJECT=1
branches:
only:
- master
git:
depth: 3
python:
- 3.6
# - pypy3.5 # issues with joblib and _pickle
addons:
apt:
packages:
- pandoc
- hunspell
- libhunspell-dev
before_install:
- pushd "${TRAVIS_BUILD_DIR}/../"
- git clone --depth=1 https://github.com/BlueBrain/nat.git
- git clone --depth=1 https://github.com/tgbugs/methodsOntology.git
- git clone --depth=1 https://github.com/tgbugs/entity_mapping.git
- git clone --depth=1 https://github.com/tgbugs/orgstrap.git
- git clone --depth=1 https://github.com/SciCrunch/NIF-Ontology.git
- orgstrap/orgstrap
- pushd NIF-Ontology
- git fetch origin neurons:neurons --depth=1
- popd
- popd
install:
- pip install --upgrade pytest pytest-cov
- pip install coverage coveralls && export HAS_COVERALLS=1
- for f in {htmlfn,ttlser,.,neurondm,nifstd}; do pushd $f; pip install --pre --editable . ; popd; done # --user doesn't work in these virtualenvs
script:
- ipython -c "__import__('pyontutils.config').config.bootstrap_config()"
- export COVERAGE_FILE="$(pwd)/.coverage"
- export PYTHONWARNINGS=ignore
- bin/run-tests
after_success:
- if [[ $HAS_COVERALLS ]] ; then coveralls ; fi