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

Commit

Permalink
Try to fix travis (again again) by requiring trusty.
Browse files Browse the repository at this point in the history
  • Loading branch information
Stella Laurenzo committed Feb 27, 2017
1 parent ed81182 commit 2d94ee0
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions .travis.yml
@@ -1,3 +1,7 @@
# Modern g++/clang required from >= trusty.
dist: trusty
sudo: required

# Only run against master branch
branches:
only:
Expand Down Expand Up @@ -32,10 +36,11 @@ env:

# Fetch submodules and install all dependencies.
before_script:
- "./scripts/setup.sh"
- sudo apt-get -qq update
# cpp-bindings dependencies
- sudo apt-get install -y g++ clang libgtest-dev
- sudo apt-get install -y g++-4.8 clang-3.8 libgtest-dev
# JavaScript dependencies.
- "./scripts/setup.sh"

script:
# Do a full build to ensure things all work.
Expand All @@ -46,10 +51,10 @@ script:
# 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++ THREADING=std make clean test)
- (cd bindings/cpp && CXX=g++ THREADING=pthread make clean test)
- (cd bindings/cpp && CXX=g++ THREADING=single make clean test)
- (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=clang++ THREADING=std make clean test)
- (cd bindings/cpp && CXX=clang++ THREADING=pthread make clean test)
- (cd bindings/cpp && CXX=clang++ THREADING=single make clean test)
- (cd bindings/cpp && CXX=clang++-3.8 THREADING=std make clean test)
- (cd bindings/cpp && CXX=clang++-3.8 THREADING=pthread make clean test)
- (cd bindings/cpp && CXX=clang++-3.8 THREADING=single make clean test)

0 comments on commit 2d94ee0

Please sign in to comment.