-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
67 lines (59 loc) · 1.87 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
sudo: required
services:
- docker
# show correct language tag in Travis CI build.
language: cpp
env:
matrix:
- NAME: install_bit_source_list.sh # 1
WITH_ROS: false
- NAME: install_ceres.sh # 2
WITH_ROS: false
- NAME: install_cppad.sh # 3
WITH_ROS: false
- NAME: install_github_lfs.sh # 4
WITH_ROS: false
- NAME: install_gtest.sh # 5
WITH_ROS: false
- NAME: install_libccd_fcl.sh # 6
WITH_ROS: false
- NAME: install_nlopt.sh # 7
WITH_ROS: false
- NAME: install_sogou.sh # 8
WITH_ROS: false
- NAME: install_wubi.sh # 9
WITH_ROS: false
- NAME: install_vrep.sh # 10
WITH_ROS: false
- NAME: install_ros.sh # 11
WITH_ROS: false
- NAME: install_geographic.sh # 12
WITH_ROS: false
- NAME: install_grid_map.sh # 13
WITH_ROS: true
- NAME: install_ipopt.sh # 14
WITH_ROS: false
- NAME: install_nlopt.sh # 15
WITH_ROS: false
before_install:
# this cmd will run docker, and copy the contents of the repo root directory to /home/ivrcscripts folder
# get the docker running
- if [ $WITH_ROS == 'false' ]; then
docker run -d -it --name ci_xenial -v $(pwd):/home/ivrcscripts aragdoll/docker_ubuntu:xenial;
else
docker run -d -it --name ci_xenial_ros -v $(pwd):/home/ivrcscripts aragdoll/docker_ubuntu:xenial_ros_kinetic;
fi
install:
- if [ $WITH_ROS == 'false' ]; then
docker exec -it ci_xenial /bin/bash -c "/home/ivrcscripts/installers/$NAME";
else
docker exec -it ci_xenial_ros /bin/bash -c "/home/ivrcscripts/installers/$NAME";
fi
script:
- if [ $WITH_ROS == 'false' ]; then
docker exec -it ci_xenial /bin/bash -c "echo 'Xenial without ROS CI is working!'";
else
docker exec -it ci_xenial_ros /bin/bash -c "echo 'Xenial with ROS CI is working!'";
fi
notifications:
email: false