tractor/.travis.yml

69 lines
2.5 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:
2020-01-27 03:09:32 +00:00
- name: "Windows, Python Latest: multiprocessing"
os: windows
language: sh
python: 3.x # only works on linux
env: SPAWN_BACKEND="mp"
before_install:
- choco install python3 --params "/InstallDir:C:\\Python"
- export PATH="/c/Python:/c/Python/Scripts:$PATH"
- python -m pip install --upgrade pip wheel
- name: "Windows, Python Latest: trio"
os: windows
language: sh
python: 3.x # only works on linux
env: SPAWN_BACKEND="trio"
before_install:
- choco install python3 --params "/InstallDir:C:\\Python"
- export PATH="/c/Python:/c/Python/Scripts:$PATH"
- python -m pip install --upgrade pip wheel
2020-01-27 03:09:32 +00:00
- name: "Windows, Python 3.7: multiprocessing"
2019-10-17 00:41:03 +00:00
os: windows
python: 3.7 # only works on linux
env: SPAWN_BACKEND="mp"
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
- name: "Windows, Python 3.7: trio"
os: windows
python: 3.7 # only works on linux
env: SPAWN_BACKEND="trio"
2019-10-17 00:41:03 +00:00
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
- name: "Python 3.7: multiprocessing"
python: 3.7 # this works for Linux but is ignored on macOS or Windows
2020-01-27 03:09:32 +00:00
env: SPAWN_BACKEND="mp"
- name: "Python 3.7: trio"
python: 3.7 # this works for Linux but is ignored on macOS or Windows
env: SPAWN_BACKEND="trio"
2020-01-31 17:04:13 +00:00
- name: "Python 3.8: multiprocessing"
python: 3.8 # this works for Linux but is ignored on macOS or Windows
2020-01-27 03:09:32 +00:00
env: SPAWN_BACKEND="mp"
- name: "Python 3.8: trio"
python: 3.8 # this works for Linux but is ignored on macOS or Windows
env: SPAWN_BACKEND="trio"
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
2019-10-20 20:24:01 +00:00
- pip install -U . -r requirements-test.txt --upgrade-strategy eager
2018-07-12 02:28:05 +00:00
script:
2020-01-16 00:48:37 +00:00
- mypy tractor/ --ignore-missing-imports
- pytest tests/ --spawn-backend=${SPAWN_BACKEND}