-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
54 lines (49 loc) · 1.34 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
language: python
# OS: Linux
dist: xenial
python:
- "3.5"
- "3.6"
- "3.7"
# matrix:
# include:
# # OS: Windows
# - os: windows
# language: shell
# before_install:
# - choco install python --version 3.5.4
# - python --version
# - python -m pip install --upgrade pip
# - pip3 install --upgrade pytest
# - pip3 install codecov
# env: PATH=/c/Python35:/c/Python35/Scripts:$PATH
# - os: windows
# language: shell
# before_install:
# - choco install python --version 3.6.8
# - python --version
# - python -m pip install --upgrade pip
# - pip3 install --upgrade pytest
# - pip3 install codecov
# env: PATH=/c/Python36:/c/Python36/Scripts:$PATH
# - os: windows
# language: shell
# before_install:
# - choco install python --version 3.7.4
# - python --version
# - python -m pip install --upgrade pip
# - pip3 install --upgrade pytest
# - pip3 install codecov
# env: PATH=/c/Python37:/c/Python37/Scripts:$PATH
# command to install dependencies
install:
- pip install codecov
- pip install coveralls
- pip install -r requirements.txt
- pip install -e .
# command to run tests
script:
- coverage run --source cprior -m pytest tests/
after_success:
- codecov
- coveralls