-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
71 lines (60 loc) · 1.47 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
60
61
62
63
64
65
66
67
68
69
70
71
# Travis file for ROS2 Java.
# Version 2
sudo: required
language: generic
os:
- linux
cache:
directories:
- .autoconf
- $HOME/.m2
- $HOME/.gradle
services:
- docker
env:
global:
- HOME_BUILD=${HOME}/build
- ROS2WS=${HOME_BUILD}/ros2_java_ws
- PYTHON_PATH=/usr/bin/python3
- COMMIT=${TRAVIS_COMMIT::8}
- ENV_PATH=${HOME_BUILD}/.env
matrix:
include:
- os: linux
env: DOCKER_DIST="debian"
services:
- docker
- os: linux
env: DOCKER_DIST="ubuntu"
services:
- docker
- os: linux
env: DOCKER_DIST="debian-stable"
services:
- docker
- os: linux
env: DOCKER_DIST="ubuntu-rolling"
services:
- docker
- os: osx
env:
- PYTHON_PATH="/usr/local/opt/python3/bin/python3.6"
- TRAVIS_OS_NAME="osx"
osx_image: xcode9.1
allow_failures:
- env: DOCKER_DIST="debian-stable"
- env: DOCKER_DIST="ubuntu-rolling"
- os: osx
before_install:
- ./scripts/travis-ci/${TRAVIS_OS_NAME}_prepare.sh
script:
- ./scripts/travis-ci/${TRAVIS_OS_NAME}_run.sh
after_success:
- ./scripts/travis-ci/${TRAVIS_OS_NAME}_success.sh
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/4aac82b42245203edceb
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always