Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clang compatible compile. Mac travis test setup.
- Loading branch information
Showing
10 changed files
with
99 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,22 @@ | ||
os: | ||
- linux | ||
- osx | ||
matrix: | ||
allow_failures: | ||
- os: osx | ||
language: cpp | ||
compiler: | ||
- gcc | ||
- clang | ||
install: | ||
- echo "No install." | ||
before_install: | ||
- sudo pip install cpp-coveralls | ||
- sudo apt-get install -y libxerces-c-dev | ||
script: make test COVERAGE=1 | ||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo pip install cpp-coveralls; fi | ||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -y libxerces-c-dev; fi | ||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi | ||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install xerces-c; fi | ||
script: | ||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then make test COVERAGE=1; fi | ||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then make test; fi | ||
after_success: | ||
- coveralls --exclude lib --exclude tests --gcov-options '\-lp' | ||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then coveralls --exclude lib --exclude tests --gcov-options '\-lp'; fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.