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