2018-07-12 02:28:05 +00:00
|
|
|
language: python
|
2019-10-15 18:32:43 +00:00
|
|
|
dist: xenial
|
|
|
|
sudo: required
|
2018-08-07 12:53:03 +00:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
2019-10-15 18:32:43 +00:00
|
|
|
- name: "Windows, Python Latest"
|
|
|
|
os: windows
|
2019-03-31 00:41:09 +00:00
|
|
|
language: sh
|
2019-10-15 18:32:43 +00:00
|
|
|
python: 3.x # only works on linux
|
2019-03-31 00:41:09 +00:00
|
|
|
before_install:
|
2019-10-15 18:32:43 +00:00
|
|
|
- choco install python3 --params "/InstallDir:C:\\Python"
|
|
|
|
- export PATH="/c/Python:/c/Python/Scripts:$PATH"
|
2019-03-31 00:41:09 +00:00
|
|
|
- python -m pip install --upgrade pip wheel
|
|
|
|
|
2019-10-17 00:41:03 +00:00
|
|
|
- name: "Windows, Python 3.7"
|
|
|
|
os: windows
|
|
|
|
python: 3.7 # only works on linux
|
|
|
|
language: sh
|
|
|
|
before_install:
|
|
|
|
- choco install python3 --version 3.7.4 --params "/InstallDir:C:\\Python"
|
|
|
|
- export PATH="/c/Python:/c/Python/Scripts:$PATH"
|
|
|
|
- python -m pip install --upgrade pip wheel
|
|
|
|
|
2019-10-15 18:32:43 +00:00
|
|
|
- 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
|
2019-10-20 18:06:28 +00:00
|
|
|
- pip install -U pip
|
2018-08-13 15:37:09 +00:00
|
|
|
- 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
|