nmeadump: more NMEA sentences added.
[marnav.git] / .travis.yml
blob3e54ea6d32eb30f1da4f0336a894e9d330c77c5e
1 language: c++
2 sudo: false
4 git:
5   depth: 10
6   submodules: false
8 matrix:
9   include:
10     - os: linux
11       env: COMPILER=g++-4.9 CMAKE_BUILD_TYPE=Debug
12       compiler: gcc
13       addons:
14         apt:
15           sources:
16           - boost-latest
17           - ubuntu-toolchain-r-test
18           packages:
19           - gcc-4.9
20           - g++-4.9
21           - libboost1.55-all-dev
23     - os: linux
24       env: COMPILER=g++-5 CMAKE_BUILD_TYPE=Debug
25       compiler: gcc
26       addons:
27         apt:
28           sources:
29           - boost-latest
30           - ubuntu-toolchain-r-test
31           packages:
32           - gcc-5
33           - g++-5
34           - libboost1.55-all-dev
36     - os: linux
37       env: COMPILER=g++-6 CMAKE_BUILD_TYPE=Debug
38       compiler: gcc
39       addons:
40         apt:
41           sources:
42           - boost-latest
43           - ubuntu-toolchain-r-test
44           packages:
45           - gcc-6
46           - g++-6
47           - libboost1.55-all-dev
49     - os: linux
50       env: COMPILER=g++-4.9 CMAKE_BUILD_TYPE=Release
51       compiler: gcc
52       addons:
53         apt:
54           sources:
55           - boost-latest
56           - ubuntu-toolchain-r-test
57           packages:
58           - gcc-4.9
59           - g++-4.9
60           - libboost1.55-all-dev
62     - os: linux
63       env: COMPILER=g++-4.9 CMAKE_BUILD_TYPE=Debug ENABLE_SEATALK=NO
64       compiler: gcc
65       addons:
66         apt:
67           sources:
68           - boost-latest
69           - ubuntu-toolchain-r-test
70           packages:
71           - gcc-4.9
72           - g++-4.9
73           - libboost1.55-all-dev
75     - os: linux
76       env: COMPILER=g++-4.9 CMAKE_BUILD_TYPE=Debug ENABLE_AIS=NO
77       compiler: gcc
78       addons:
79         apt:
80           sources:
81           - boost-latest
82           - ubuntu-toolchain-r-test
83           packages:
84           - gcc-4.9
85           - g++-4.9
86           - libboost1.55-all-dev
88     - os: linux
89       env: COMPILER=g++-4.9 CMAKE_BUILD_TYPE=Debug ENABLE_IO=NO
90       compiler: gcc
91       addons:
92         apt:
93           sources:
94           - boost-latest
95           - ubuntu-toolchain-r-test
96           packages:
97           - gcc-4.9
98           - g++-4.9
99           - libboost1.55-all-dev
101 #   - os: linux
102 #     env: COMPILER=clang++-3.6 CMAKE_BUILD_TYPE=Debug
103 #     compiler: clang
104 #     addons:
105 #       apt:
106 #         sources:
107 #         - boost-latest
108 #         - ubuntu-toolchain-r-test
109 #         - llvm-toolchain-precise-3.6
110 #         packages:
111 #         - clang-3.6
112 #         - libboost1.55-all-dev
114 #   - os: linux
115 #     env: COMPILER=clang++-3.7 CMAKE_BUILD_TYPE=Debug
116 #     compiler: clang
117 #     addons:
118 #       apt:
119 #         sources:
120 #         - boost-latest
121 #         - ubuntu-toolchain-r-test
122 #         - llvm-toolchain-precise-3.7
123 #         packages:
124 #         - clang-3.7
125 #         - libboost1.55-all-dev
127 #   - os: linux
128 #     env: COMPILER=clang++-3.8 CMAKE_BUILD_TYPE=Debug
129 #     compiler: clang
130 #     addons:
131 #       apt:
132 #         sources:
133 #         - boost-latest
134 #         - ubuntu-toolchain-r-test
135 #         - llvm-toolchain-precise-3.8
136 #         packages:
137 #         - clang-3.8
138 #         - libboost1.55-all-dev
140 #   - os: linux
141 #     env: COMPILER=clang++-3.8 CMAKE_BUILD_TYPE=Release
142 #     compiler: clang
143 #     addons:
144 #       apt:
145 #         sources:
146 #         - boost-latest
147 #         - ubuntu-toolchain-r-test
148 #         - llvm-toolchain-precise-3.8
149 #         packages:
150 #         - clang-3.8
151 #         - libboost1.55-all-dev
153 install:
154   # install a recent cmake
155   - curl -O https://cmake.org/files/v3.2/cmake-3.2.3-Linux-x86_64.tar.gz
156   - tar -xf cmake-3.2.3-Linux-x86_64.tar.gz
157   - rm -f cmake-3.2.3-Linux-x86_64.tar.gz
158   - export PATH=${PWD}/cmake-3.2.3-Linux-x86_64/bin:${PATH}
160 before_script:
161   - mkdir build
162   - cd build
163   - cmake --version
164   - ${COMPILER} --version
165   - CXX=${COMPILER} cmake -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} ..
167 script:
168   - make
169   - make unittest
170   - make test