0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-15 20:31:16 +08:00
sqlpp11/.travis.yml

29 lines
516 B
YAML
Raw Normal View History

2014-08-24 15:34:01 +08:00
language: cpp
os:
- linux
compiler:
# - clang # disabled clang due to missing libc++
2014-08-24 15:34:01 +08:00
- gcc
notifications:
email:
on_success: change
on_failure: always
before_install:
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
2014-08-24 15:34:01 +08:00
install:
- "mkdir -p $TRAVIS_BUILD_DIR/build/scripts"
- "cd $TRAVIS_BUILD_DIR/build/scripts"
2014-08-24 15:59:55 +08:00
- "cmake $TRAVIS_BUILD_DIR"
2014-08-24 15:34:01 +08:00
script:
- "cd $TRAVIS_BUILD_DIR/build/scripts"
- "make -j3"
# test compile-time constraints
- "make test_sqlpp_constraints"