Nicolas "Pixel" Noble | 9f1baf7 | 2015-02-26 18:50:03 +0100 | [diff] [blame] | 1 | language: cpp |
Craig Tiller | a0cff66 | 2015-02-26 14:55:02 -0800 | [diff] [blame] | 2 | before_install: |
| 3 | - sudo add-apt-repository ppa:yjwong/gflags -y |
Craig Tiller | f26582d | 2015-02-27 16:01:13 -0800 | [diff] [blame] | 4 | - sudo add-apt-repository ppa:h-rayflood/llvm -y |
Craig Tiller | a0cff66 | 2015-02-26 14:55:02 -0800 | [diff] [blame] | 5 | - sudo apt-get update -qq |
Craig Tiller | f26582d | 2015-02-27 16:01:13 -0800 | [diff] [blame] | 6 | - sudo apt-get install -qq libgtest-dev libgflags-dev python-virtualenv clang-3.5 |
Nicolas "Pixel" Noble | 9f72864 | 2015-03-24 18:50:30 +0100 | [diff] [blame] | 7 | - sudo pip install cpp-coveralls mako simplejson |
murgatroid99 | 7e14dd8 | 2015-02-27 15:06:03 -0800 | [diff] [blame] | 8 | env: |
murgatroid99 | 2399160 | 2015-02-27 15:39:03 -0800 | [diff] [blame] | 9 | global: |
| 10 | - RUBY_VERSION=2.1 |
Nicolas "Pixel" Noble | d30b005 | 2015-03-03 04:30:00 +0100 | [diff] [blame] | 11 | - COVERALLS_PARALLEL=true |
murgatroid99 | 2399160 | 2015-02-27 15:39:03 -0800 | [diff] [blame] | 12 | matrix: |
Nicolas "Pixel" Noble | 9f72864 | 2015-03-24 18:50:30 +0100 | [diff] [blame] | 13 | - CONFIG=opt TEST=sanity |
murgatroid99 | 5c4052d | 2015-03-02 13:28:12 -0800 | [diff] [blame] | 14 | - 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 |
murgatroid99 | b7063f1 | 2015-02-27 16:12:24 -0800 | [diff] [blame] | 20 | - CONFIG=opt TEST=python |
Nicolas "Pixel" Noble | d30b005 | 2015-03-03 04:30:00 +0100 | [diff] [blame] | 21 | - CONFIG=gcov TEST=c |
| 22 | - CONFIG=gcov TEST=c++ |
Nicolas "Pixel" Noble | fd2b093 | 2015-03-26 00:26:29 +0100 | [diff] [blame] | 23 | - USE_GCC=4.4 CONFIG=opt TEST=build |
| 24 | - USE_GCC=4.5 CONFIG=opt TEST=build |
Craig Tiller | 26a3c07 | 2015-02-26 15:59:26 -0800 | [diff] [blame] | 25 | script: |
murgatroid99 | 7e14dd8 | 2015-02-27 15:06:03 -0800 | [diff] [blame] | 26 | - rvm use $RUBY_VERSION |
murgatroid99 | 726b486 | 2015-02-27 14:54:24 -0800 | [diff] [blame] | 27 | - gem install bundler |
Nicolas "Pixel" Noble | fd2b093 | 2015-03-26 00:26:29 +0100 | [diff] [blame] | 28 | - if [ ! -z "$USE_GCC" ] ; then export CC=gcc-$USE_GCC ; export CXX=g++-$USE_GCC ; fi |
Craig Tiller | f26582d | 2015-02-27 16:01:13 -0800 | [diff] [blame] | 29 | - ./tools/run_tests/run_tests.py -l $TEST -t -j 16 -c $CONFIG -s 4.0 |
Nicolas "Pixel" Noble | d30b005 | 2015-03-03 04:30:00 +0100 | [diff] [blame] | 30 | after_success: |
| 31 | - if [ "$CONFIG" = "gcov" ] ; then coveralls --exclude third_party --exclude gens -b. --gcov-options '\-p' ; fi |
Nicolas "Pixel" Noble | 9f1baf7 | 2015-02-26 18:50:03 +0100 | [diff] [blame] | 32 | notifications: |
Nicolas "Pixel" Noble | d30b005 | 2015-03-03 04:30:00 +0100 | [diff] [blame] | 33 | email: false |
| 34 | webhooks: |
| 35 | - https://coveralls.io/webhook?repo_token=54IxAHPjJNdQJzJAhPU0MFpCtg7KvcydQ |