Alexey Alexandrov | 2ea34b2 | 2017-03-20 14:42:26 -0700 | [diff] [blame^] | 1 | language: cpp |
| 2 | |
| 3 | sudo: required |
| 4 | |
| 5 | before_install: |
| 6 | - sudo apt-get -qq update |
| 7 | - sudo apt-get install -y libelf-dev libssl-dev |
| 8 | - git submodule update --init --recursive |
| 9 | |
| 10 | install: |
| 11 | # install gcc-4.8 with c++11 support: https://github.com/travis-ci-tester/travis-test-gcc-cxx-11 |
| 12 | - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y |
| 13 | - sudo apt-get update |
| 14 | - sudo apt-get install g++-4.8 |
| 15 | - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90 |
| 16 | - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 90 |
| 17 | |
| 18 | compiler: |
| 19 | - clang |
| 20 | - gcc |
| 21 | |
| 22 | script: |
| 23 | - make perf_to_profile check |