-
Notifications
You must be signed in to change notification settings - Fork 17
/
.travis.yml
38 lines (31 loc) · 871 Bytes
/
.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
language: python
cache:
directories:
- $HOME/.ccache
python:
- "3.8"
env:
global:
# variables for caching
- CCACHE_DIR=$HOME/.ccache
- CCACHE_COMPILERCHECK=content
- CCACHE_COMPRESS=true
- CCACHE_NODISABLE=true
- CCACHE_MAXSIZE=500M
matrix:
- GCC_VER=4.8
before_install:
# we need latest pip to work with only-binary option
- pip install -U pip
- pip install -U pytest pep8 wheel pytest-forked
- pip install -U numpy scipy pandas tqdm --only-binary numpy,scipy,pandas
- pip install -U protobuf
- pip install -r requirements.txt
install:
# - pushd python && python setup.py install && popd
script:
- cd topicnet
- py.test tests --ignore tests/test_pipeline.py --timeout=45 --reruns 3 --reruns-delay 3 --cov
# TODO: - py.test tests --timeout=45 --reruns 3 --reruns-delay 3 --cov
after_success:
- codecov