blob: b6c80629852dbb9c86a5103b5bef94c514517efb [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
Jan Tattermusche79e2f52015-04-23 16:13:31 -07005 - 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 Tillera0cff662015-02-26 14:55:02 -08008 - sudo apt-get update -qq
Masood Malekghassemie5f70022015-06-29 09:20:26 -07009 - 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" Noble9f728642015-03-24 18:50:30 +010011 - sudo pip install cpp-coveralls mako simplejson
Jan Tattermusche79e2f52015-04-23 16:13:31 -070012 - sudo apt-get install -qq mono-devel nunit
13 - wget www.nuget.org/NuGet.exe -O nuget.exe
murgatroid997e14dd82015-02-27 15:06:03 -080014env:
murgatroid9923991602015-02-27 15:39:03 -080015 global:
16 - RUBY_VERSION=2.1
Nicolas "Pixel" Nobled30b0052015-03-03 04:30:00 +010017 - COVERALLS_PARALLEL=true
Nicolas "Pixel" Noble882d7a72015-03-24 23:26:32 +010018 - CPPFLAGS=-I/tmp/prebuilt/include
Jan Tattermusche79e2f52015-04-23 16:13:31 -070019 - NUGET="mono nuget.exe"
murgatroid9923991602015-02-27 15:39:03 -080020 matrix:
Craig Tiller84f18792015-05-22 13:31:09 -070021 - CONFIG=opt TEST=sanity JOBS=1
22 - CONFIG=gcov TEST=c JOBS=16
23 - CONFIG=gcov TEST=c++ JOBS=16
Craig Tiller1057ba22015-05-27 07:46:34 -070024 - CONFIG=opt TEST=c JOBS=16
25 - CONFIG=opt TEST=c++ JOBS=16
Craig Tiller84f18792015-05-22 13:31:09 -070026 - 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 Tiller26a3c072015-02-26 15:59:26 -080031script:
murgatroid997e14dd82015-02-27 15:06:03 -080032 - rvm use $RUBY_VERSION
murgatroid99726b4862015-02-27 14:54:24 -080033 - gem install bundler
Nicolas "Pixel" Noblef0668c82015-04-30 07:01:31 +020034 - ./tools/run_tests/prepare_travis.sh
Nicolas "Pixel" Noblefd2b0932015-03-26 00:26:29 +010035 - if [ ! -z "$USE_GCC" ] ; then export CC=gcc-$USE_GCC ; export CXX=g++-$USE_GCC ; fi
Craig Tiller84f18792015-05-22 13:31:09 -070036 - ./tools/run_tests/run_tests.py -l $TEST -t -j $JOBS -c $CONFIG -s 4.0
Nicolas "Pixel" Nobled30b0052015-03-03 04:30:00 +010037after_success:
Craig Tiller31489e32015-06-23 14:27:34 -070038 - if [ "$CONFIG" = "gcov" ] ; then coveralls --exclude third_party --exclude gens --exclude test --exclude tools --exclude src/compiler -b. --gcov-options '\-p' ; fi
Nicolas "Pixel" Noble9f1baf72015-02-26 18:50:03 +010039notifications:
Nicolas "Pixel" Nobled30b0052015-03-03 04:30:00 +010040 email: false
41 webhooks:
42 - https://coveralls.io/webhook?repo_token=54IxAHPjJNdQJzJAhPU0MFpCtg7KvcydQ