summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2015-07-04 20:59:25 +0100
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2015-07-04 21:01:28 +0100
commit5dce99751c0f5894e78db883f286c0ff3e89ba61 (patch)
treefafa43041b0e28075cef71e216e1d1c36ae4cf11
parente543299d97d680d021cf9940259941529a443b07 (diff)
downloadswig-5dce99751c0f5894e78db883f286c0ff3e89ba61.tar.gz
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.
-rwxr-xr-xappveyor.yml19
1 files changed, 17 insertions, 2 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 002f35401..25abcb342 100755
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -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