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 |
Jan Tattermusch | e79e2f5 | 2015-04-23 16:13:31 -0700 | [diff] [blame] | 5 | - sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF |
| 6 | - echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list |
| 7 | - echo "deb http://download.mono-project.com/repo/debian wheezy-libtiff-compat main" | sudo tee -a /etc/apt/sources.list.d/mono-xamarin.list |
Craig Tiller | a0cff66 | 2015-02-26 14:55:02 -0800 | [diff] [blame] | 8 | - sudo apt-get update -qq |
Craig Tiller | f26582d | 2015-02-27 16:01:13 -0800 | [diff] [blame] | 9 | - 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] | 10 | - sudo pip install cpp-coveralls mako simplejson |
Jan Tattermusch | e79e2f5 | 2015-04-23 16:13:31 -0700 | [diff] [blame] | 11 | - sudo apt-get install -qq mono-devel nunit |
| 12 | - wget www.nuget.org/NuGet.exe -O nuget.exe |
murgatroid99 | 7e14dd8 | 2015-02-27 15:06:03 -0800 | [diff] [blame] | 13 | env: |
murgatroid99 | 2399160 | 2015-02-27 15:39:03 -0800 | [diff] [blame] | 14 | global: |
| 15 | - RUBY_VERSION=2.1 |
Nicolas "Pixel" Noble | d30b005 | 2015-03-03 04:30:00 +0100 | [diff] [blame] | 16 | - COVERALLS_PARALLEL=true |
Nicolas "Pixel" Noble | 882d7a7 | 2015-03-24 23:26:32 +0100 | [diff] [blame] | 17 | - CPPFLAGS=-I/tmp/prebuilt/include |
Jan Tattermusch | e79e2f5 | 2015-04-23 16:13:31 -0700 | [diff] [blame] | 18 | - NUGET="mono nuget.exe" |
murgatroid99 | 2399160 | 2015-02-27 15:39:03 -0800 | [diff] [blame] | 19 | matrix: |
Nicolas "Pixel" Noble | 9f72864 | 2015-03-24 18:50:30 +0100 | [diff] [blame] | 20 | - CONFIG=opt TEST=sanity |
murgatroid99 | 5c4052d | 2015-03-02 13:28:12 -0800 | [diff] [blame] | 21 | - CONFIG=dbg TEST=c |
| 22 | - CONFIG=dbg TEST=c++ |
| 23 | - CONFIG=opt TEST=c |
| 24 | - CONFIG=opt TEST=c++ |
| 25 | - CONFIG=opt TEST=node |
| 26 | - CONFIG=opt TEST=ruby |
murgatroid99 | b7063f1 | 2015-02-27 16:12:24 -0800 | [diff] [blame] | 27 | - CONFIG=opt TEST=python |
Jan Tattermusch | e79e2f5 | 2015-04-23 16:13:31 -0700 | [diff] [blame] | 28 | - CONFIG=opt TEST=csharp |
Nicolas "Pixel" Noble | d30b005 | 2015-03-03 04:30:00 +0100 | [diff] [blame] | 29 | - CONFIG=gcov TEST=c |
| 30 | - CONFIG=gcov TEST=c++ |
Nicolas "Pixel" Noble | fd2b093 | 2015-03-26 00:26:29 +0100 | [diff] [blame] | 31 | - USE_GCC=4.4 CONFIG=opt TEST=build |
| 32 | - USE_GCC=4.5 CONFIG=opt TEST=build |
Craig Tiller | 26a3c07 | 2015-02-26 15:59:26 -0800 | [diff] [blame] | 33 | script: |
murgatroid99 | 7e14dd8 | 2015-02-27 15:06:03 -0800 | [diff] [blame] | 34 | - rvm use $RUBY_VERSION |
murgatroid99 | 726b486 | 2015-02-27 14:54:24 -0800 | [diff] [blame] | 35 | - gem install bundler |
Nicolas "Pixel" Noble | f0668c8 | 2015-04-30 07:01:31 +0200 | [diff] [blame^] | 36 | - ./tools/run_tests/prepare_travis.sh |
Nicolas "Pixel" Noble | fd2b093 | 2015-03-26 00:26:29 +0100 | [diff] [blame] | 37 | - 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] | 38 | - ./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] | 39 | after_success: |
| 40 | - 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] | 41 | notifications: |
Nicolas "Pixel" Noble | d30b005 | 2015-03-03 04:30:00 +0100 | [diff] [blame] | 42 | email: false |
| 43 | webhooks: |
| 44 | - https://coveralls.io/webhook?repo_token=54IxAHPjJNdQJzJAhPU0MFpCtg7KvcydQ |