added MinGW

This commit is contained in:
Niels 2016-04-29 20:18:20 +02:00
parent ddc5442c91
commit b685737d53

View file

@ -30,6 +30,14 @@ matrix:
packages: ['g++-5', 'valgrind'] packages: ['g++-5', 'valgrind']
env: COMPILER=g++-5 env: COMPILER=g++-5
- os: linux
compiler: gcc
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: ['g++-mingw-w64']
env: COMPILER=g++-mingw-w64
# - os: linux # - os: linux
# compiler: gcc # compiler: gcc
# addons: # addons:
@ -111,6 +119,6 @@ matrix:
script: script:
- make CXX=$COMPILER CXXFLAGS="-lstdc++" - make CXX=$COMPILER CXXFLAGS="-lstdc++"
- ./json_unit "*" - ./json_unit "*"
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then - if [ `which valgrind` ]; then
valgrind --error-exitcode=1 --leak-check=full ./json_unit ; valgrind --error-exitcode=1 --leak-check=full ./json_unit ;
fi fi