Rework platform detection to ignore CI provider.

CI provider is now mostly irrelevant, rework platform detection with that in mind.
Run linux test in AppVeyor
This commit is contained in:
mayeut
2019-11-10 23:40:20 +01:00
parent a3e9b7b8ec
commit d3450e84ac
3 changed files with 16 additions and 35 deletions
+8 -7
View File
@@ -1,10 +1,11 @@
environment:
matrix:
- PYTHON: "C:\\Python27\\python.exe"
- PYTHON: "C:\\Python35\\python.exe"
image:
- Ubuntu
- Visual Studio 2015
build_script:
- "%PYTHON% -m pip install -r requirements-dev.txt"
# the '-u' flag is required so the output is in the correct order.
- cmd: "C:\\Python27\\python.exe -m pip install -r requirements-dev.txt"
- sh: "${HOME}/.localpython3.7.4/bin/python3 -m pip install -r requirements-dev.txt"
# the '-u' flag is required so the output is in the correct order.
# See https://github.com/joerick/cibuildwheel/pull/24 for more info.
- "%PYTHON% -u ./bin/run_tests.py"
- cmd: "C:\\Python27\\python.exe -u ./bin/run_tests.py"
- sh: "${HOME}/.localpython3.7.4/bin/python3 ./bin/run_tests.py"