-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
41 lines (35 loc) · 1.06 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
language: python
jobs:
include:
- name: "Python 3.6 on Linux"
python: "3.6"
- name: "Python 3.7 on Linux"
python: "3.7"
- name: "Python 3.8 on Linux"
python: "3.8"
dist: bionic
- name: "Python 3.6 on Mac"
os: osx
osx_image: xcode9.4 # Python 3.6.5.
language: shell
#before_install:
# - brew install git-lfs.
# this might be useful in the future - it's a large workspace
install:
- pip3 install --upgrade pip
- pip3 install --user -r requirements.txt
- pip3 install --user pytest
script: python3 -m pytest
# we can add code coverage (codecov) here
# - name: "Python 3.6 on Windows"
# os: windows
# language: shell
# before_install:
# - choco install python --version 3.6.8
# - python -m pip install --upgrade pip
# - python -m pip install --user -r requirements.txt
# - python -m pip install pytest
# env: PATH=/c/Python36:/c/Python36/Scripts:$PATH
# script: python -m pytest
script:
- pytest