tractor/.travis.yml

36 lines
1.1 KiB
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
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
- 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
- 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