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 |
Masood Malekghassemi | e5f7002 | 2015-06-29 09:20:26 -0700 | [diff] [blame] | 9 | - sudo apt-get install -qq libgtest-dev libgflags-dev python-virtualenv python-dev python3-dev clang-3.5 |
| 10 | - sudo pip install --upgrade virtualenv |
Nicolas "Pixel" Noble | 9f72864 | 2015-03-24 18:50:30 +0100 | [diff] [blame] | 11 | - sudo pip install cpp-coveralls mako simplejson |
Jan Tattermusch | e79e2f5 | 2015-04-23 16:13:31 -0700 | [diff] [blame] | 12 | - sudo apt-get install -qq mono-devel nunit |
| 13 | - wget www.nuget.org/NuGet.exe -O nuget.exe |
murgatroid99 | 7e14dd8 | 2015-02-27 15:06:03 -0800 | [diff] [blame] | 14 | env: |
murgatroid99 | 2399160 | 2015-02-27 15:39:03 -0800 | [diff] [blame] | 15 | global: |
| 16 | - RUBY_VERSION=2.1 |
Nicolas "Pixel" Noble | d30b005 | 2015-03-03 04:30:00 +0100 | [diff] [blame] | 17 | - COVERALLS_PARALLEL=true |
Nicolas "Pixel" Noble | 882d7a7 | 2015-03-24 23:26:32 +0100 | [diff] [blame] | 18 | - CPPFLAGS=-I/tmp/prebuilt/include |
Jan Tattermusch | e79e2f5 | 2015-04-23 16:13:31 -0700 | [diff] [blame] | 19 | - NUGET="mono nuget.exe" |
murgatroid99 | 2399160 | 2015-02-27 15:39:03 -0800 | [diff] [blame] | 20 | matrix: |
Craig Tiller | 84f1879 | 2015-05-22 13:31:09 -0700 | [diff] [blame] | 21 | - CONFIG=opt TEST=sanity JOBS=1 |
| 22 | - CONFIG=gcov TEST=c JOBS=16 |
| 23 | - CONFIG=gcov TEST=c++ JOBS=16 |
Craig Tiller | 1057ba2 | 2015-05-27 07:46:34 -0700 | [diff] [blame] | 24 | - CONFIG=opt TEST=c JOBS=16 |
| 25 | - CONFIG=opt TEST=c++ JOBS=16 |
Craig Tiller | 84f1879 | 2015-05-22 13:31:09 -0700 | [diff] [blame] | 26 | - CONFIG=opt TEST=node JOBS=16 |
| 27 | - CONFIG=opt TEST=ruby JOBS=16 |
| 28 | - CONFIG=opt TEST=python JOBS=1 |
| 29 | - CONFIG=opt TEST=csharp JOBS=16 |
| 30 | - USE_GCC=4.4 CONFIG=opt TEST=build JOBS=16 |
Craig Tiller | 26a3c07 | 2015-02-26 15:59:26 -0800 | [diff] [blame] | 31 | script: |
murgatroid99 | 7e14dd8 | 2015-02-27 15:06:03 -0800 | [diff] [blame] | 32 | - rvm use $RUBY_VERSION |
murgatroid99 | 726b486 | 2015-02-27 14:54:24 -0800 | [diff] [blame] | 33 | - gem install bundler |
Nicolas "Pixel" Noble | f0668c8 | 2015-04-30 07:01:31 +0200 | [diff] [blame] | 34 | - ./tools/run_tests/prepare_travis.sh |
Nicolas "Pixel" Noble | fd2b093 | 2015-03-26 00:26:29 +0100 | [diff] [blame] | 35 | - if [ ! -z "$USE_GCC" ] ; then export CC=gcc-$USE_GCC ; export CXX=g++-$USE_GCC ; fi |
Craig Tiller | 84f1879 | 2015-05-22 13:31:09 -0700 | [diff] [blame] | 36 | - ./tools/run_tests/run_tests.py -l $TEST -t -j $JOBS -c $CONFIG -s 4.0 |
Nicolas "Pixel" Noble | d30b005 | 2015-03-03 04:30:00 +0100 | [diff] [blame] | 37 | after_success: |
Craig Tiller | 31489e3 | 2015-06-23 14:27:34 -0700 | [diff] [blame] | 38 | - if [ "$CONFIG" = "gcov" ] ; then coveralls --exclude third_party --exclude gens --exclude test --exclude tools --exclude src/compiler -b. --gcov-options '\-p' ; fi |
Nicolas "Pixel" Noble | 9f1baf7 | 2015-02-26 18:50:03 +0100 | [diff] [blame] | 39 | notifications: |
Nicolas "Pixel" Noble | d30b005 | 2015-03-03 04:30:00 +0100 | [diff] [blame] | 40 | email: false |
| 41 | webhooks: |
| 42 | - https://coveralls.io/webhook?repo_token=54IxAHPjJNdQJzJAhPU0MFpCtg7KvcydQ |