Commit b685737d by Niels

added MinGW

parent ddc5442c
...@@ -30,6 +30,14 @@ matrix: ...@@ -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: ...@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment