2014-02-09 00:05:19 +00:00
|
|
|
language: cpp
|
2015-09-20 11:31:58 -07:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
2018-01-23 07:58:21 -08:00
|
|
|
compiler:
|
|
|
|
- clang
|
|
|
|
- gcc
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
exclude:
|
|
|
|
- os: osx
|
|
|
|
compiler: gcc
|
|
|
|
|
2014-02-09 21:56:30 +00:00
|
|
|
env:
|
2015-10-24 14:03:29 -07:00
|
|
|
- DEFINES=standard
|
|
|
|
- DEFINES=PUGIXML_WCHAR_MODE
|
|
|
|
- DEFINES=PUGIXML_COMPACT
|
2017-01-29 21:21:58 -08:00
|
|
|
- DEFINES=PUGIXML_NO_EXCEPTIONS
|
2018-12-09 16:31:22 -08:00
|
|
|
|
2015-10-24 14:03:29 -07:00
|
|
|
script:
|
2018-12-10 07:55:35 -08:00
|
|
|
- if [[ ! ( "$CXX" == "clang++" && "$TRAVIS_OS_NAME" == "linux" ) ]]; then make test cxxstd=c++11 defines=$DEFINES config=coverage -j2; fi
|
2018-11-26 18:57:43 -08:00
|
|
|
- if [[ "$CXX" == "clang++" ]]; then make test cxxstd=c++11 defines=$DEFINES config=sanitize -j2; fi
|
2016-01-26 21:43:48 -08:00
|
|
|
- make test cxxstd=c++11 defines=$DEFINES config=release -j2
|
|
|
|
- make test cxxstd=c++98 defines=$DEFINES config=debug -j2
|
2015-10-24 14:03:29 -07:00
|
|
|
|
2017-06-15 09:28:31 -07:00
|
|
|
after_success:
|
|
|
|
- bash <(curl -s https://codecov.io/bash) -f pugixml.cpp.gcov
|