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

26 lines
698 B
YAML
Raw Normal View History

2018-07-12 02:28:05 +00:00
language: python
dist: xenial
sudo: required
2018-08-07 12:53:03 +00:00
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
2018-07-12 02:28:05 +00:00
install:
- cd $TRAVIS_BUILD_DIR
- pip install -U . -r requirements-test.txt
2018-07-12 02:28:05 +00:00
script:
2018-08-31 22:03:21 +00:00
- mypy tractor/ --ignore-missing-imports
2018-08-02 20:29:01 +00:00
- pytest tests/ --no-print-logs