Skip to content

Commit 7f7142b

Browse files
committed
Prefix CI environment variables properly
1 parent 8c945e3 commit 7f7142b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ matrix:
44
include:
55
- name: 'ROS Indigo'
66
dist: trusty
7-
env: UBUNTU=trusty ROS_DISTRO=indigo
7+
env: CI_UBUNTU=trusty CI_ROS_DISTRO=indigo
88
- name: 'ROS Kinetic'
99
dist: xenial
10-
env: UBUNTU=xenial ROS_DISTRO=kinetic
10+
env: CI_UBUNTU=xenial CI_ROS_DISTRO=kinetic
1111

1212
before_install:
13-
- echo "deb http://packages.ros.org/ros/ubuntu $UBUNTU main" | sudo tee -a /etc/apt/sources.list
13+
- echo "deb http://packages.ros.org/ros/ubuntu ${CI_UBUNTU} main" | sudo tee -a /etc/apt/sources.list
1414
- curl http://packages.ros.org/ros.key | sudo apt-key add -
1515
- sudo apt-get update -qq
1616
- sudo apt-get install -qq dpkg python-catkin-lint python-catkin-tools python-rosdep
@@ -20,10 +20,10 @@ install:
2020
- rosdep update
2121
- mkdir -p /tmp/ws/src
2222
- ln -s `pwd` /tmp/ws/src/webrtc
23-
- rosdep install -q --from-paths /tmp/ws/src --ignore-src --rosdistro ${ROS_DISTRO} -y
23+
- rosdep install -q --from-paths /tmp/ws/src --ignore-src --rosdistro ${CI_ROS_DISTRO} -y
2424

2525
before_script:
26-
- source /opt/ros/${ROS_DISTRO}/setup.bash
26+
- source /opt/ros/${CI_ROS_DISTRO}/setup.bash
2727
- catkin config -w /tmp/ws --install
2828

2929
script:

0 commit comments

Comments
 (0)