Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Commit

Permalink
Update travis ci config to build all cpp binding permutations.
Browse files Browse the repository at this point in the history
  • Loading branch information
Stella Laurenzo committed Feb 26, 2017
1 parent 62bb60f commit 17804cf
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .travis.yml
Expand Up @@ -9,6 +9,7 @@ notifications:
recipients:
- benvanik@google.com
- rsturgell@google.com
- laurenzo@google.com
on_success: change
on_failure: change

Expand All @@ -32,6 +33,8 @@ env:
# Fetch submodules and install all dependencies.
before_script:
- "./scripts/setup.sh"
# cpp-bindings dependencies
- sudo apt-get install -qq g++-4.8 clang++-3.8 libgtest-dev

script:
# Do a full build to ensure things all work.
Expand All @@ -41,3 +44,11 @@ script:
- "./scripts/run-tests.sh"
# Run a full sauce test, if we have a key.
#- "./scripts/run-saucelabs.sh"
# Test the cpp-bindings on gcc in all threading scenarios.
- (cd bindings/cpp && CXX=g++-4.8 THREADING=std make clean test)
- (cd bindings/cpp && CXX=g++-4.8 THREADING=pthread make clean test)
- (cd bindings/cpp && CXX=g++-4.8 THREADING=single make clean test)
# Test the cpp-bindings on clang in all threading scenarios.
- (cd bindings/cpp && CXX=g++-4.8 THREADING=std make clean test)
- (cd bindings/cpp && CXX=g++-4.8 THREADING=pthread make clean test)
- (cd bindings/cpp && CXX=g++-4.8 THREADING=single make clean test)

0 comments on commit 17804cf

Please sign in to comment.