0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-15 20:31:16 +08:00
sqlpp11/.travis.yml
Roland Bock 3c3abfab41 Exclude clang from Travis and use g++-4.8
clang is missing libc++ (might add that later)
2014-08-24 10:20:49 +02:00

30 lines
608 B
YAML

language: cpp
os:
- linux
compiler:
# - clang # disabled clang due to missing libc++
- gcc
notifications:
email:
on_success: change
on_failure: always
before_install:
- if [ "$CXX" == "g++" ]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi
- if [ "$CXX" == "g++" ]; then sudo apt-get install -qq g++-4.8; fi
install:
- "mkdir -p $TRAVIS_BUILD_DIR/build/scripts"
- "cd $TRAVIS_BUILD_DIR/build/scripts"
- "cmake $TRAVIS_BUILD_DIR"
script:
- "cd $TRAVIS_BUILD_DIR/build/scripts"
- "make -j3"
# test compile-time constraints
- "make test_sqlpp_constraints"