From b685737d53c4adbd5869b238c46a8782ffd3f237 Mon Sep 17 00:00:00 2001 From: Niels Date: Fri, 29 Apr 2016 20:18:20 +0200 Subject: [PATCH] added MinGW --- .travis.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 2133d17ac..3341f8236 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,6 +30,14 @@ matrix: packages: ['g++-5', 'valgrind'] 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 # compiler: gcc # addons: @@ -111,6 +119,6 @@ matrix: script: - make CXX=$COMPILER CXXFLAGS="-lstdc++" - ./json_unit "*" - - if [ "${TRAVIS_OS_NAME}" = "linux" ]; then + - if [ `which valgrind` ]; then valgrind --error-exitcode=1 --leak-check=full ./json_unit ; fi