-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
43 lines (36 loc) · 863 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
39
40
41
42
43
language: python
python:
- "3.5"
- "3.6"
- "3.7"
- "3.8"
os:
#- windows
- linux
#- osx
#osx_image: xcode8.3
env:
global:
#stole this from one of mih ymls.
- COVERAGE=coverage
#command to install dependencies
install:
- pip install -r requirements.txt
- pip install -U codecov
- pip install pytest-cov
- pip install pytest-timeout
#command to run tests
script:
- PATH=$PWD/tools/coverage-bin:$PATH
pytest --timeout=100 -s -v --cov=multimatch_gaze/ --cov-report=xml:coverage.xml
# upload my python reports
- bash <(curl -s https://codecov.io/bash) -cF python
- codecov
after success:
#stole this from mih as well
- coverage combine -a /tmp/.coverage-entrypoints-*
- codecov
git:
submodules: false
codecov:
token: 44656c54-250a-4f8b-bd58-688056318912