NMEA: sentence TPT added
[marnav.git] / .travis.yml
blob45bc3b463fd060d84c6e055af96e0c9a86771426
1 language: c++
2 compiler:
3   - gcc
4   - clang
5 sudo: false
6 os: linux
8 addons:
9   apt:
10     sources:
11     - ubuntu-toolchain-r-test
12     - llvm-toolchain-precise-3.6
13     packages:
14     - gcc-4.9
15     - g++-4.9
16     - clang-3.6
18 install:
19   - if [ "$CXX" = "g++" ] ; then export CXX="g++-4.9" CC="gcc-4.9" ; fi
20   - if [ "$CXX" = "clang++" ] ; then export CXX="clang++-3.6" CC="clang-3.6" ; fi
22   # install a recent cmake
23   - wget http://www.cmake.org/files/v3.2/cmake-3.2.3-Linux-x86_64.tar.gz
24   - tar -xf cmake-3.2.3-Linux-x86_64.tar.gz
25   - rm -f cmake-3.2.3-Linux-x86_64.tar.gz
26   - export PATH=${PWD}/cmake-3.2.3-Linux-x86_64/bin:${PATH}
28 before_script:
29   - mkdir build
30   - cd build
31   - cmake ..
33 script:
34   - ${CXX} --version
35   - make
36   - make unittest
37   - make test