aboutsummaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
blob: 7d8634506c344d23c8c64a6a3e0e7f4dcc64477d (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
language: cpp
before_install:
  - sudo add-apt-repository ppa:yjwong/gflags -y
  - sudo add-apt-repository ppa:h-rayflood/llvm -y
  - 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
env:
  global:
    - RUBY_VERSION=2.1
    - COVERALLS_PARALLEL=true
  matrix:
    - CONFIG=opt TEST=sanity
    - CONFIG=dbg TEST=c
    - CONFIG=dbg TEST=c++
    - CONFIG=opt TEST=c
    - CONFIG=opt TEST=c++
    - CONFIG=opt TEST=node
    - CONFIG=opt TEST=ruby
    - CONFIG=opt TEST=python
    - CONFIG=gcov TEST=c
    - CONFIG=gcov TEST=c++
    - USE_GCC=4.4 CONFIG=opt TEST=build
    - USE_GCC=4.5 CONFIG=opt TEST=build
script:
  - rvm use $RUBY_VERSION
  - gem install bundler
  - 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 16 -c $CONFIG -s 4.0
after_success:
  - if [ "$CONFIG" = "gcov" ] ; then coveralls --exclude third_party --exclude gens -b. --gcov-options '\-p' ; fi
notifications:
  email: false
  webhooks:
    - https://coveralls.io/webhook?repo_token=54IxAHPjJNdQJzJAhPU0MFpCtg7KvcydQ