Appveyor testing expanded

- New variable to control version of Visual Studio to use on appveyor
- Enable VS2015 (14.0) for C#
- Run full check-test-suite and not just partialcheck-test-suite since
  Appveyor performance improvements since using dedicated Hyper-V
  instead of Azure.
- Allow 64 bit Python 2.7 to fail on Appveyor as a vector container
  slicing bug needs fixing.
This commit is contained in:
William S Fulton 2015-07-04 20:59:25 +01:00
commit 5dce99751c

View file

@ -5,13 +5,26 @@ platform:
environment:
matrix:
- SWIGLANG: csharp
VSVER: 14
- SWIGLANG: csharp
VSVER: 12
- SWIGLANG: java
VSVER: 12
- SWIGLANG: python
VSVER: 12
VER: 27
- SWIGLANG: python
VSVER: 12
VER: 34
PY3: 1
matrix:
allow_failures:
- platform: x64
SWIGLANG: python
VSVER: 12
VER: 27
install:
- date /T & time /T
- set PATH=C:\cygwin\bin;%PATH%
@ -30,7 +43,9 @@ install:
$env:VCVARS_PLATFORM="amd64"
$env:LANG_PLATFORM="-x64"
}
- call "%VS120COMNTOOLS%\..\..\VC\vcvarsall.bat" %VCVARS_PLATFORM%
- ps: $env:VSCOMNTOOLS=(Get-Content ("env:VS" + "$env:VSVER" + "0COMNTOOLS"))
- echo "Using Visual Studio %VSVER%.0 at %VSCOMNTOOLS%"
- call "%VSCOMNTOOLS%\..\..\VC\vcvarsall.bat" %VCVARS_PLATFORM%
- nuget install pcre -Verbosity detailed -Version 8.33.0.1 -OutputDirectory C:\pcre
- set PCRE_ROOT=C:/pcre/pcre.8.33.0.1/build/native
- set PATH=C:\Python%VER%%LANG_PLATFORM%;%PATH%
@ -64,7 +79,7 @@ test_script:
- bash -c "file ./swig.exe"
- bash -c "time make -k check-%SWIGLANG%-version"
- bash -c "time make -k check-%SWIGLANG%-examples %CHECK_OPTIONS%"
- bash -c "time make -k partialcheck-%SWIGLANG%-test-suite %CHECK_OPTIONS%"
- bash -c "time make -k check-%SWIGLANG%-test-suite %CHECK_OPTIONS%"
# Do not build on tags (GitHub only)
skip_tags: true