Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
hpp-fcl
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
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
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
Guilhem Saurel
hpp-fcl
Commits
fa1d6864
Commit
fa1d6864
authored
5 years ago
by
Gabriele Buondonno
Browse files
Options
Downloads
Patches
Plain Diff
[travis] Handle Mac OS X
parent
2237ccf9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.travis.yml
+2
-9
2 additions, 9 deletions
.travis.yml
travis_custom/custom_before_install_linux.sh
+11
-0
11 additions, 0 deletions
travis_custom/custom_before_install_linux.sh
travis_custom/custom_before_install_osx.sh
+9
-0
9 additions, 0 deletions
travis_custom/custom_before_install_osx.sh
with
22 additions
and
9 deletions
.travis.yml
+
2
−
9
View file @
fa1d6864
...
...
@@ -88,15 +88,8 @@ matrix:
-
octomap
before_install
:
# Add robotpkg
-
sudo sh -c "echo \"deb [arch=amd64] http://robotpkg.openrobots.org/packages/debian/pub $(lsb_release -cs) robotpkg\" >> /etc/apt/sources.list"
-
curl http://robotpkg.openrobots.org/packages/debian/robotpkg.key | sudo apt-key add -
-
sudo apt-get update
# install eigenpy
-
sudo apt-get -qqy install robotpkg-py27-eigenpy
# set environment variables
-
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/opt/openrobots/lib/pkgconfig"
-
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/opt/openrobots/lib"
-
if [ "$TRAVIS_OS_NAME" = "linux" ]; then source travis_custom/custom_before_install_linux.sh ; fi
-
if [ "$TRAVIS_OS_NAME" = "osx" ]; then source travis_custom/custom_before_install_osx.sh ; fi
script
:
# Create build directory
...
...
This diff is collapsed.
Click to expand it.
travis_custom/custom_before_install_linux.sh
0 → 100755
+
11
−
0
View file @
fa1d6864
# Add robotpkg
sudo
sh
-c
"echo
\"
deb [arch=amd64] http://robotpkg.openrobots.org/packages/debian/pub
$(
lsb_release
-cs
)
robotpkg
\"
>> /etc/apt/sources.list"
curl http://robotpkg.openrobots.org/packages/debian/robotpkg.key |
sudo
apt-key add -
sudo
apt-get update
# install eigenpy
sudo
apt-get
-qqy
install
robotpkg-py27-eigenpy
# set environment variables
export
PKG_CONFIG_PATH
=
"
${
PKG_CONFIG_PATH
}
:/opt/openrobots/lib/pkgconfig"
export
LD_LIBRARY_PATH
=
"
${
LD_LIBRARY_PATH
}
:/opt/openrobots/lib"
\ No newline at end of file
This diff is collapsed.
Click to expand it.
travis_custom/custom_before_install_osx.sh
0 → 100755
+
9
−
0
View file @
fa1d6864
# Add gepetto tap
brew tap gepetto/homebrew-gepetto
# install eigenpy
brew
install
eigenpy
# set environment variables
export
PKG_CONFIG_PATH
=
"
${
PKG_CONFIG_PATH
}
:/opt/openrobots/lib/pkgconfig"
export
LD_LIBRARY_PATH
=
"
${
LD_LIBRARY_PATH
}
:/opt/openrobots/lib"
\ No newline at end of file
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