-
Notifications
You must be signed in to change notification settings - Fork 9
/
.travis.yml
36 lines (35 loc) · 1.08 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
language: python
sudo: false
cache:
apt: true
directories:
- $HOME/.cache/pip
- $HOME/download
python:
- "3.6"
before_install:
- pip install pip -U
- pip install --progress-bar off xdoctest -U
- python -c "from xdoctest import docstr; print(docstr)"
- pip install --progress-bar off torch pyqt5 opencv-python
- pip install --progress-bar off pytest pytest-cov codecov
- pip install --progress-bar off ubelt progiter -U
- pip install --progress-bar off imgaug
#- pip install --progress-bar off -e git+https://github.com/aleju/imgaug.git@master#egg=imgaug
- pip install --progress-bar off -r requirements.txt
install:
#- travis_retry python setup.py build develop
- travis_retry pip install -e .
script:
#- travis_wait ./run_tests.py
#- travis_wait python run_tests.py
- travis_wait pytest -p no:doctest --cov-config .coveragerc --cov-report html --xdoctest --cov=netharn
after_success:
#- coveralls || echo "Coveralls upload failed"
- codecov
#after_failure:
# - cat failed_doctests.txt
cache:
apt: true
directories:
- $HOME/.pip-cache