0
0
mirror of https://github.com/zeux/pugixml.git synced 2024-12-27 13:33:17 +08:00
pugixml/.travis.yml

28 lines
695 B
YAML
Raw Normal View History

language: cpp
2015-09-20 11:31:58 -07:00
os:
- linux
- osx
compiler:
- clang
- gcc
matrix:
exclude:
- os: osx
compiler: gcc
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
2015-10-24 14:03:29 -07:00
script:
- if [[ ! ( "$CXX" == "clang++" && "$TRAVIS_OS_NAME" == "linux" ) ]]; then make test cxxstd=c++11 defines=$DEFINES config=coverage -j2; fi
- if [[ "$CXX" == "clang++" ]]; then make test cxxstd=c++11 defines=$DEFINES config=sanitize -j2; fi
- 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
after_success:
- bash <(curl -s https://codecov.io/bash) -f pugixml.cpp.gcov