aboutsummaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
blob: c626242557160988adfb1d65cbde27d090762dce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
language: cpp
before_install:
  - sudo add-apt-repository ppa:yjwong/gflags -y
  - sudo add-apt-repository ppa:h-rayflood/llvm -y
  - sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
  - echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
  - echo "deb http://download.mono-project.com/repo/debian wheezy-libtiff-compat main" | sudo tee -a /etc/apt/sources.list.d/mono-xamarin.list
  - sudo apt-get update -qq
  - sudo apt-get install -qq libgtest-dev libgflags-dev python-virtualenv clang-3.5
  - sudo pip install cpp-coveralls mako simplejson
  - sudo apt-get install -qq mono-devel nunit
  - wget www.nuget.org/NuGet.exe -O nuget.exe
env:
  global:
    - RUBY_VERSION=2.1
    - COVERALLS_PARALLEL=true
    - CPPFLAGS=-I/tmp/prebuilt/include
    - NUGET="mono nuget.exe"
  matrix:
    - CONFIG=opt TEST=sanity JOBS=1
    - CONFIG=gcov TEST=c JOBS=16
    - CONFIG=gcov TEST=c++ JOBS=16
    - CONFIG=opt TEST=c JOBS=16
    - CONFIG=opt TEST=c++ JOBS=16
    - CONFIG=opt TEST=node JOBS=16
    - CONFIG=opt TEST=ruby JOBS=16
    - CONFIG=opt TEST=python JOBS=1
    - CONFIG=opt TEST=csharp JOBS=16
    - USE_GCC=4.4 CONFIG=opt TEST=build JOBS=16
script:
  - rvm use $RUBY_VERSION
  - gem install bundler
  - ./tools/run_tests/prepare_travis.sh
  - if [ ! -z "$USE_GCC" ] ; then export CC=gcc-$USE_GCC ; export CXX=g++-$USE_GCC ; fi
  - ./tools/run_tests/run_tests.py -l $TEST -t -j $JOBS -c $CONFIG -s 4.0
after_success:
  - if [ "$CONFIG" = "gcov" ] ; then coveralls --exclude third_party --exclude gens --exclude test --exclude src/compiler -b. --gcov-options '\-p' ; fi
notifications:
  email: false
  webhooks:
    - https://coveralls.io/webhook?repo_token=54IxAHPjJNdQJzJAhPU0MFpCtg7KvcydQ