13
13
global :
14
14
- JOB_PATH=/tmp/devel_job
15
15
- ABORT_ON_TEST_FAILURE=1
16
+ - INDEX_URL=https://raw.githubusercontent.com/ros-infrastructure/ros_buildfarm_config/production/index.yaml
16
17
matrix :
17
- - ROS_DISTRO_NAME=indigo OS_NAME=ubuntu OS_CODE_NAME=trusty ARCH=amd64
18
+ - ROS_DISTRO_NAME=indigo OS_NAME=ubuntu OS_CODE_NAME=trusty ARCH=amd64 INDEX_URL=https://raw.githubusercontent.com/ros-infrastructure/ros_buildfarm_config/6a93d17/index.yaml
18
19
- ROS_DISTRO_NAME=kinetic OS_NAME=ubuntu OS_CODE_NAME=xenial ARCH=amd64
19
- - ROS_DISTRO_NAME=lunar OS_NAME=ubuntu OS_CODE_NAME=xenial ARCH=amd64
20
20
- ROS_DISTRO_NAME=melodic OS_NAME=ubuntu OS_CODE_NAME=bionic ARCH=amd64
21
- # matrix:
22
- # allow_failures:
23
- # - env: ROS_DISTRO_NAME=kinetic OS_NAME=ubuntu OS_CODE_NAME=xenial ARCH=amd64
21
+ # matrix:
22
+ # allow_failures:
23
+ # - env: ROS_DISTRO_NAME=indigo OS_NAME=ubuntu OS_CODE_NAME=trusty ARCH=amd64
24
24
install :
25
25
# either install the latest released version of ros_buildfarm
26
26
- pip install ros_buildfarm
@@ -32,15 +32,15 @@ install:
32
32
# run devel job for a ROS repository with the same name as this repo
33
33
- export REPOSITORY_NAME=`basename $TRAVIS_BUILD_DIR`
34
34
# use the code already checked out by Travis
35
- - mkdir -p $JOB_PATH/catkin_workspace /src
36
- - cp -R $TRAVIS_BUILD_DIR $JOB_PATH/catkin_workspace /src/
35
+ - mkdir -p $JOB_PATH/ws /src
36
+ - cp -R $TRAVIS_BUILD_DIR $JOB_PATH/ws /src/
37
37
# generate the script to run a pre-release job for that target and repo
38
- - generate_prerelease_script.py https://raw.githubusercontent.com/ros-infrastructure/ros_buildfarm_config/production/index.yaml $ROS_DISTRO_NAME default $OS_NAME $OS_CODE_NAME $ARCH --output-dir $JOB_PATH
38
+ - generate_prerelease_script.py $INDEX_URL $ROS_DISTRO_NAME default $OS_NAME $OS_CODE_NAME $ARCH --output-dir $JOB_PATH
39
39
# run the actual job which involves Docker
40
40
- cd $JOB_PATH; sh ./prerelease.sh -y
41
41
script :
42
42
# get summary of test results
43
- - /tmp/catkin/bin/catkin_test_results $JOB_PATH/catkin_workspace /test_results --all
43
+ - /tmp/catkin/bin/catkin_test_results $JOB_PATH/ws /test_results --all
44
44
notifications :
45
45
email : false
46
46
0 commit comments