mirror of
https://github.com/rbock/sqlpp11.git
synced 2024-11-15 20:31:16 +08:00
34 lines
695 B
YAML
34 lines
695 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:
|
|
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
|
|
- sudo apt-get update
|
|
- sudo apt-get libboost-dev
|
|
- if [ "$CXX" = "g++" ]; then sudo apt-get install g++-4.8; fi
|
|
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-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"
|
|
|