added MinGW
This commit is contained in:
parent
ddc5442c91
commit
b685737d53
1 changed files with 9 additions and 1 deletions
10
.travis.yml
10
.travis.yml
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue