-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
60 lines (55 loc) · 1.89 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Use docker to test on a more modern Ubuntu distro
language: cpp
sudo: required
dist: trusty
before_script:
- export CI_SOURCE_PATH=$(pwd)
- export REPOSITORY_NAME=${PWD##*/}
- export CODECOV_VARS=$(bash <(curl -s https://codecov.io/env))
- export BUILD_TYPE=Debug
- docker images
script:
- travis/travis_docker.sh
env:
global:
- MAKEFLAGS="-j 2"
- CCACHE_SLOPPINESS=pch_defines,time_macros
jobs:
include:
- stage: Build Stage 1
env: STAGE=1 TASK="build" DEPS="full" BUILD_TARGET="mrpt-hmtslam"
compiler: gcc
- env: STAGE=1 TASK="build" DEPS="full" BUILD_TARGET="mrpt-hmtslam"
compiler: clang
- env: STAGE=1 TASK="build" DEPS="headless" BUILD_TARGET="mrpt-hmtslam"
compiler: gcc
- env: STAGE=1 TASK="build" DEPS="minimal" BUILD_TARGET="mrpt-hmtslam"
compiler: gcc
- stage: Tests, Examples, apps
env: STAGE=2 TASK="test" DEPS="full"
compiler: gcc
- env: STAGE=2 TASK="test" DEPS="full"
compiler: clang
- env: STAGE=2 TASK="test" DEPS="headless"
compiler: gcc
- env: STAGE=2 TASK="test" DEPS="minimal"
compiler: gcc
- env: STAGE=2 TASK="build" DEPS="full" BUILD_TARGET="examples"
compiler: gcc
- env: STAGE=2 TASK="build" DEPS="full" BUILD_TARGET="examples"
compiler: clang
- env: STAGE=2 TASK="build" DEPS="headless" BUILD_TARGET="examples"
compiler: gcc
- env: STAGE=2 TASK="build" DEPS="minimal" BUILD_TARGET="examples"
compiler: gcc
- env: STAGE=2 TASK="build" DEPS="full" BUILD_TARGET="apps"
compiler: gcc
- env: STAGE=2 TASK="build" DEPS="full" BUILD_TARGET="apps"
compiler: clang
- env: STAGE=2 TASK="build" DEPS="headless" BUILD_TARGET="apps"
compiler: gcc
- env: STAGE=2 TASK="build" DEPS="minimal" BUILD_TARGET="apps"
compiler: gcc
- stage: Extended Builds and Tests
language: python
env: TASK="lint" DEPS="full"