Simplify appveyor config

This commit is contained in:
vitaut 2015-08-07 06:41:07 -07:00
parent 58fcf0c0da
commit 2c6e32f6ff
2 changed files with 5 additions and 5 deletions

View File

@ -1,14 +1,14 @@
configuration:
- Debug
- Release
environment: environment:
CTEST_OUTPUT_ON_FAILURE: 1 CTEST_OUTPUT_ON_FAILURE: 1
matrix: matrix:
- BUILD: msvc - BUILD: msvc
CONFIG: Debug
- BUILD: msvc - BUILD: msvc
CONFIG: Release
- BUILD: mingw - BUILD: mingw
CONFIG: Debug
- BUILD: mingw - BUILD: mingw
CONFIG: Release
build_script: build_script:
- python support/appveyor-build.py - python support/appveyor-build.py

View File

@ -5,7 +5,7 @@ import os
from subprocess import check_call from subprocess import check_call
build = os.environ['BUILD'] build = os.environ['BUILD']
config = os.environ['CONFIG'] config = os.environ['CONFIGURATION']
path = os.environ['PATH'] path = os.environ['PATH']
cmake_command = ['cmake', '-DFMT_PEDANTIC=ON', '-DCMAKE_BUILD_TYPE=' + config] cmake_command = ['cmake', '-DFMT_PEDANTIC=ON', '-DCMAKE_BUILD_TYPE=' + config]
if build == 'mingw': if build == 'mingw':