forked from moveit/moveit2
-
Notifications
You must be signed in to change notification settings - Fork 17
/
.travis.yml
34 lines (30 loc) · 1.27 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
language: cpp
cache: ccache
compiler: gcc
notifications:
email:
recipients:
matrix:
include:
- os: linux
dist: trusty # distro used by Travis, moveit_ci uses the docker image's distro
services:
- docker
sudo:
- required
# - os: osx
# osx_image: xcode10.1
before_script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then source .travis.${TRAVIS_OS_NAME}.env; fi
#- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then source .travis.${TRAVIS_OS_NAME}.env; fi
#- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then bash ./osx-dependencies.sh; fi
#- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then mkdir /tmp/moveit2; fi
#- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then cp -r * /tmp/moveit2; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then git clone -q -b dashing --depth=1 https://github.com/acutronicrobotics/moveit2_ci.git .moveit2_ci; fi
script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then .moveit2_ci/travis.sh; fi
# - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then bash /tmp/moveit2/osx-dependencies.sh; fi
#- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then bash /tmp/moveit2/osx-install-ros2-binary.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then bash /tmp/moveit2/osx-compile-moveit2.sh; fi