-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
29 lines (29 loc) · 841 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
language: python
cache: pip
jobs:
include:
- name: "Test in Docker"
services:
- docker
python: "3.8.0"
script:
- docker build -t pctm .
- docker run -it --rm -v "$PWD":/pctm pctm python3 -m pytest -vv -s tests/
- name: "Test in Linux"
os: linux
python: "3.8.0"
- name: "Test in macOS"
os: osx
osx_image: xcode12u
language: shell
- name: "Test on Windows"
os: windows
language: shell
before_install:
- choco install python --version 3.8.0
- python -m pip install --upgrade pip
env: PATH=/c/Python38:/c/Python38/Scripts:$PATH
install:
- pip3 install --upgrade pip
- pip3 install -r requirements.txt
script: python3 -m pytest -vv -s tests/ || python -m pytest -vv -s tests/ || Python38 -m pytest -vv -s tests/