Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libuvc_ros
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mobile_robotics
ADC
external
libuvc_ros
Commits
c99d8497
Commit
c99d8497
authored
7 years ago
by
Kei Okada
Browse files
Options
Downloads
Patches
Plain Diff
add .travis.yml
parent
0f943d6b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.travis.yml
+42
-0
42 additions, 0 deletions
.travis.yml
with
42 additions
and
0 deletions
.travis.yml
0 → 100644
+
42
−
0
View file @
c99d8497
# https://github.com/ros-infrastructure/ros_buildfarm/blob/master/doc/jobs/devel_jobs.rst
# https://github.com/ros-infrastructure/ros_buildfarm/blob/master/doc/jobs/prerelease_jobs.rst
# while this doesn't require sudo we don't want to run within a Docker container
sudo
:
true
dist
:
trusty
language
:
python
python
:
-
"
3.4"
env
:
global
:
-
JOB_PATH=/tmp/devel_job
-
ABORT_ON_TEST_FAILURE=1
matrix
:
-
ROS_DISTRO_NAME=indigo OS_NAME=ubuntu OS_CODE_NAME=trusty ARCH=amd64
-
ROS_DISTRO_NAME=kinetic OS_NAME=ubuntu OS_CODE_NAME=xenial ARCH=amd64
-
ROS_DISTRO_NAME=lunar OS_NAME=ubuntu OS_CODE_NAME=xenial ARCH=amd64
-
ROS_DISTRO_NAME=melodic OS_NAME=ubuntu OS_CODE_NAME=bionic ARCH=amd64
matrix
:
allow_failures
:
-
env
:
ROS_DISTRO_NAME=melodic OS_NAME=ubuntu OS_CODE_NAME=bionic ARCH=amd64
install
:
# either install the latest released version of ros_buildfarm
-
pip install ros_buildfarm
# or checkout a specific branch
#- git clone -b master https://github.com/ros-infrastructure/ros_buildfarm /tmp/ros_buildfarm
#- pip install /tmp/ros_buildfarm
# checkout catkin for catkin_test_results script
-
git clone https://github.com/ros/catkin /tmp/catkin
# run devel job for a ROS repository with the same name as this repo
-
export REPOSITORY_NAME=`basename $TRAVIS_BUILD_DIR`
# use the code already checked out by Travis
-
mkdir -p $JOB_PATH/catkin_workspace/src
-
cp -R $TRAVIS_BUILD_DIR $JOB_PATH/catkin_workspace/src/
# generate the script to run a pre-release job for that target and repo
-
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
# run the actual job which involves Docker
-
cd $JOB_PATH; sh ./prerelease.sh -y
script
:
# get summary of test results
-
/tmp/catkin/bin/catkin_test_results $JOB_PATH/catkin_workspace/test_results --all
notifications
:
email
:
false
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment