aboutsummaryrefslogtreecommitdiff
path: root/lib/crow/.travis.yml
diff options
context:
space:
mode:
authorMistivia <i@mistivia.com>2025-01-15 19:12:12 +0800
committerMistivia <i@mistivia.com>2025-01-15 19:12:46 +0800
commit4da382953c830a61ae24ccbe95c4241db8788269 (patch)
tree31f6d184273274e2660516d1ac1146b5661f20b6 /lib/crow/.travis.yml
restore
Diffstat (limited to 'lib/crow/.travis.yml')
-rw-r--r--lib/crow/.travis.yml48
1 files changed, 48 insertions, 0 deletions
diff --git a/lib/crow/.travis.yml b/lib/crow/.travis.yml
new file mode 100644
index 0000000..d7a50c4
--- /dev/null
+++ b/lib/crow/.travis.yml
@@ -0,0 +1,48 @@
+language: cpp
+
+sudo: false
+cache: ccache
+
+notifications:
+ irc: "chat.freenode.net##crow"
+
+compiler:
+ - gcc
+
+env:
+ matrix:
+ - COMPILER=g++-4.8 CCOMPILER=gcc-4.8 PUSH_COVERAGE=ON
+ - COMPILER=g++-4.9 CCOMPILER=gcc-4.9
+ - COMPILER=g++-5 CCOMPILER=gcc-5
+ - COMPILER=clang++-3.6 CCOMPILER=clang-3.6
+
+addons:
+ apt:
+ sources:
+ - ubuntu-toolchain-r-test
+ - boost-latest
+ - llvm-toolchain-precise
+ - llvm-toolchain-precise-3.6
+ packages:
+ - g++-4.8
+ - g++-4.9
+ - g++-5
+ - clang-3.6
+ - libboost1.55-all-dev
+ - python-pip
+
+install:
+ - if [ "$PUSH_COVERAGE" == "ON" ]; then pip install --user git+git://github.com/eddyxu/cpp-coveralls.git; fi
+
+before_script:
+ - export CXX=$COMPILER CC=$CCOMPILER
+ - mkdir build
+ - cd build
+ - cmake --version
+ - cmake ..
+
+script: make -j2 && ctest -j2
+
+after_success:
+ - cd ..
+ - if [ "$PUSH_COVERAGE" == "ON" ]; then coveralls --gcov gcov-4.8 -i include --gcov-options '\-lp'; fi