blob: 7d8634506c344d23c8c64a6a3e0e7f4dcc64477d [file] [log] [blame]
Nicolas "Pixel" Noble9f1baf72015-02-26 18:50:03 +01001language: cpp
Craig Tillera0cff662015-02-26 14:55:02 -08002before_install:
3 - sudo add-apt-repository ppa:yjwong/gflags -y
Craig Tillerf26582d2015-02-27 16:01:13 -08004 - sudo add-apt-repository ppa:h-rayflood/llvm -y
Craig Tillera0cff662015-02-26 14:55:02 -08005 - sudo apt-get update -qq
Craig Tillerf26582d2015-02-27 16:01:13 -08006 - sudo apt-get install -qq libgtest-dev libgflags-dev python-virtualenv clang-3.5
Nicolas "Pixel" Noble9f728642015-03-24 18:50:30 +01007 - sudo pip install cpp-coveralls mako simplejson
murgatroid997e14dd82015-02-27 15:06:03 -08008env:
murgatroid9923991602015-02-27 15:39:03 -08009 global:
10 - RUBY_VERSION=2.1
Nicolas "Pixel" Nobled30b0052015-03-03 04:30:00 +010011 - COVERALLS_PARALLEL=true
murgatroid9923991602015-02-27 15:39:03 -080012 matrix:
Nicolas "Pixel" Noble9f728642015-03-24 18:50:30 +010013 - CONFIG=opt TEST=sanity
murgatroid995c4052d2015-03-02 13:28:12 -080014 - CONFIG=dbg TEST=c
15 - CONFIG=dbg TEST=c++
16 - CONFIG=opt TEST=c
17 - CONFIG=opt TEST=c++
18 - CONFIG=opt TEST=node
19 - CONFIG=opt TEST=ruby
murgatroid99b7063f12015-02-27 16:12:24 -080020 - CONFIG=opt TEST=python
Nicolas "Pixel" Nobled30b0052015-03-03 04:30:00 +010021 - CONFIG=gcov TEST=c
22 - CONFIG=gcov TEST=c++
Nicolas "Pixel" Noblefd2b0932015-03-26 00:26:29 +010023 - USE_GCC=4.4 CONFIG=opt TEST=build
24 - USE_GCC=4.5 CONFIG=opt TEST=build
Craig Tiller26a3c072015-02-26 15:59:26 -080025script:
murgatroid997e14dd82015-02-27 15:06:03 -080026 - rvm use $RUBY_VERSION
murgatroid99726b4862015-02-27 14:54:24 -080027 - gem install bundler
Nicolas "Pixel" Noblefd2b0932015-03-26 00:26:29 +010028 - if [ ! -z "$USE_GCC" ] ; then export CC=gcc-$USE_GCC ; export CXX=g++-$USE_GCC ; fi
Craig Tillerf26582d2015-02-27 16:01:13 -080029 - ./tools/run_tests/run_tests.py -l $TEST -t -j 16 -c $CONFIG -s 4.0
Nicolas "Pixel" Nobled30b0052015-03-03 04:30:00 +010030after_success:
31 - if [ "$CONFIG" = "gcov" ] ; then coveralls --exclude third_party --exclude gens -b. --gcov-options '\-p' ; fi
Nicolas "Pixel" Noble9f1baf72015-02-26 18:50:03 +010032notifications:
Nicolas "Pixel" Nobled30b0052015-03-03 04:30:00 +010033 email: false
34 webhooks:
35 - https://coveralls.io/webhook?repo_token=54IxAHPjJNdQJzJAhPU0MFpCtg7KvcydQ