-
Notifications
You must be signed in to change notification settings - Fork 44
/
.travis.yml
50 lines (43 loc) · 1.16 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
language: python
jobs:
include:
- name: "Python 2.7 on Linux"
python: 2.7
before_install:
- pip install .
- pip install -r test-requirements.txt
- name: "Python 3.6 on Linux"
python: 3.6
before_install:
- pip install .
- pip install -r test-requirements.txt
- name: "Python 3.8 on Linux"
python: 3.8
before_install:
- pip install .
- pip install -r test-requirements.txt
- name: "Python 3.? on macOS"
os: osx
osx_image: xcode12
language: shell
before_install:
- python3 --version
- pip3 install -U pip
- pip3 install --user .
- pip3 install --user -r test-requirements.txt
script:
- python3 -m nose
- name: "Python 3.6 on Windows"
os: windows
language: shell
before_install:
- choco install python --version 3.6
- python -m pip install --upgrade pip
- pip install .
- pip install -r test-requirements.txt
env: PATH=/c/Python36:/c/Python36/Scripts:$PATH
# command to install dependencies
install:
- ls
# command to run tests
script: nosetests