AIS: binary payload 001/11 separated to its own files.
[marnav.git] / .travis.yml
blob9ee731d4650146815e508753b846b1f5304b0682
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.9 CMAKE_BUILD_TYPE=Debug
142     #  compiler: clang
143     #  addons:
144     #    apt:
145     #      sources:
146     #      - boost-latest
147     #      - ubuntu-toolchain-r-test
148     #      - llvm-toolchain-precise-3.9
149     #      packages:
150     #      - clang-3.9
151     #      - libboost1.55-all-dev
153     #- os: linux
154     #  env: COMPILER=clang++-3.9 CMAKE_BUILD_TYPE=Release
155     #  compiler: clang
156     #  addons:
157     #    apt:
158     #      sources:
159     #      - boost-latest
160     #      - ubuntu-toolchain-r-test
161     #      - llvm-toolchain-precise-3.9
162     #      packages:
163     #      - clang-3.9
164     #      - libboost1.55-all-dev
166 install:
167   # install a recent cmake
168   - curl -O https://cmake.org/files/v3.6/cmake-3.6.2-Linux-x86_64.tar.gz
169   - tar -xf cmake-3.6.2-Linux-x86_64.tar.gz
170   - rm -f cmake-3.6.2-Linux-x86_64.tar.gz
171   - export PATH=${PWD}/cmake-3.6.2-Linux-x86_64/bin:${PATH}
173 before_script:
174   - mkdir build
175   - cd build
176   - cmake --version
177   - ${COMPILER} --version
178   - CXX=${COMPILER} cmake -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} ..
180 script:
181   - make
182   - make unittest
183   - make test