forked from goodboy/tractor
1
0
Fork 0
tractor/.travis.yml

26 lines
698 B
YAML

language: python
dist: xenial
sudo: required
matrix:
include:
- name: "Windows, Python Latest"
os: windows
language: sh
python: 3.x # only works on linux
before_install:
- choco install python3 --params "/InstallDir:C:\\Python"
- export PATH="/c/Python:/c/Python/Scripts:$PATH"
- python -m pip install --upgrade pip wheel
- python: 3.7 # this works for Linux but is ignored on macOS or Windows
- python: 3.8
install:
- cd $TRAVIS_BUILD_DIR
- pip install -U . -r requirements-test.txt
script:
- mypy tractor/ --ignore-missing-imports
- pytest tests/ --no-print-logs