-
Notifications
You must be signed in to change notification settings - Fork 100
/
.travis.yml
43 lines (39 loc) · 1008 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
# OS: Linux
dist: xenial
python:
- "3.6"
- "3.7"
matrix:
include:
# OS: Windows
- 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 optbinning -m pytest tests/
after_success:
- codecov
# - coveralls