better-enums/appveyor.yml
Anton Bachin 124c09f2f0 Sped up the AppVeyor build.
Current AppVeyor images with VC2015 don't have Cygwin pre-installed, so
each row in the build matrix installs it before running the build. This
takes about 7-8 minutes per row.

This change combines all the VC testing into one row, so the price of
installing Cygwin is paid only once. A secondary improvement is that
individual rows don't have to wait in the AppVeyor queue. Builds now
take a total of about 15 minutes, instead of approximately an hour,
including queueing time.

This change should probably be undone once there is an AppVeyor image
that comes with both VC2015 and Cygwin. The main AppVeyor image has VC
up to 2013 and Cygwin, so I suppose VC2015 and Cygwin will be available
once a final version of VC2015 is released.

Until then, Better Enums does not have the benefit of separate rows in
the AppVeyor build matrix.
2015-07-02 18:17:06 -05:00

27 lines
695 B
YAML

version: "{build}"
branches:
except:
- gh-pages
- traits
skip_tags : true
shallow_clone: true
os: Visual Studio 2015 RC
install:
- choco -y install cyg-get
- cyg-get make
- git clone --depth 1 https://github.com/CxxTest/cxxtest.git
build_script:
- set CL=/I C:\projects\better-enums\cxxtest
- set PATH=%PATH%;C:\projects\better-enums\cxxtest\bin;C:\tools\cygwin\bin
- set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH%
- cd test
- make TITLE=vc2015 COMPILER="Visual Studio 14 2015" ms
- make TITLE=vc2013 COMPILER="Visual Studio 12 2013" ms
- make TITLE=vc2012 COMPILER="Visual Studio 11 2012" ms
- make TITLE=vc2010 COMPILER="Visual Studio 10 2010" ms