-
Notifications
You must be signed in to change notification settings - Fork 124
/
.travis.yml
80 lines (73 loc) · 2.58 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# https://travis-ci.org/tgbugs/pyontutils
sudo: false
language: python
env:
global:
- NIFSTD_CHECKOUT_OK=1
- secure: NRhNdnCe9VW1PRMHGtua1ndxrFHRX007pPaC/F+qR5o//iVekVBeASMNLpenTpFitNghs3UfKp69r1/SnHXHXb7lZxpoev+M8VrKu5TWvaolZtITrwxdpJA4Z/JixjWogb6HUTfk/xXtZw61PI3IiWBs/ibirDA3izrlHYzv8CkvgjAuhoYjCb7Z2lHnmilCnWe6A40DnZosIZhB/ZhPam5412/YtWsNuxqkJb9fIFZ79Uguq4KoGCSd39BiUM82kSVkr22ZdqfA3b+pBnyCzyPmx5rpeJ74STBUG7zBzwNEUlsoedUJuUIFNS4tRwrjhKw+C83+RMcwx3CHJqZ0hpgzsj+cOizRyR3c1iyMYlTLD0BjqneOvm4MB2Jdom48CaFred17v0J0DMs0IteZ2pmc8KgsVhTHAfFjAZqVl5y9ryJt/dRXJYBlriYOaLqW3J1MEvBopsb06w1YJ9ARwhxcUmvm00kt0aNhs9Clm761iq8kCOPQKwFPC8t8OLgJ/Zq5JW2NVhwqXHjlkp0oE+DRqEpVAmSavojNhvCACX2VZdqESFuIk0Zm6gvs1k7nJNbo7YpuArTJrsvxSqokAZA1d7MTjo8fCpda7qzlUygnqf6uFXLYzicqsMXXfJZ29MAjpEeMPmC33vA+KS6JeROUUoc80sIulizp/WIXszE=
matrix:
- TEST_PACKAGE=htmlfn
- TEST_PACKAGE=ttlser
- TEST_PACKAGE=pyontutils
- TEST_PACKAGE=neurondm
- TEST_PACKAGE=nifstd
branches:
only:
- master
git:
depth: 3
python:
- 3.6
- 3.7
- 3.8
- 3.9
# - 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
powershell
racket-mode
rpm-spec-mode
sparql-mode
ssh-config-mode
toml-mode
ttl-mode
vimrc-mode
yaml-mode
- pushd NIF-Ontology
- git fetch origin neurons:neurons --depth=1
- git fetch origin dev:dev --depth=1
- popd
- popd
- mkdir -p ~/.config/orthauth
- >
bash -c 'printf "google:\n sheets:\n pyontutils-test: ${TEST_SHEET_ID}\n" >> ~/.config/orthauth/secrets.yaml'
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 . || exit $?; # --user doesn't work in these venvs
popd;
done
script:
- export COVERAGE_FILE="$(pwd)/.coverage"
- bin/run-tests
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