aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: cc756785f611a4f112df6b966d7e98bb46c5deec (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
language: cpp

sudo: required

before_install:
  - sudo apt-get -qq update
  - sudo apt-get install -y libelf-dev libssl-dev libcap-dev linux-tools-`uname -r` linux-cloud-tools-`uname -r`
  - git submodule update --init --recursive

install:
  # install gcc-4.8 with c++11 support: https://github.com/travis-ci-tester/travis-test-gcc-cxx-11
  - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
  - sudo apt-get update
  - sudo apt-get install g++-4.8
  - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
  - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 90

compiler:
  - clang
  - gcc

script:
  - make perf_to_profile check clean -C src/
  - make quipper perf_converter check clean -C src/quipper/ -f Makefile.external