Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stack Of Tasks
sot-torque-control
Commits
2c8eb149
Commit
2c8eb149
authored
Feb 09, 2018
by
Olivier Stasse
Browse files
Add travis support
parent
e3cb95f4
Changes
4
Hide whitespace changes
Inline
Side-by-side
.gitmodules
View file @
2c8eb149
[submodule "cmake"]
path = cmake
url = git://github.com/jrl-umi3218/jrl-cmakemodules.git
[submodule ".travis"]
path = .travis
url = https://github.com/jrl-umi3218/jrl-travis.git
.travis
@
bad6dbd2
Subproject commit bad6dbd29cf70e852e5e427e876390d954ca7d6b
.travis.yml
0 → 100644
View file @
2c8eb149
language
:
generic
python
:
-
"
2.7"
sudo
:
required
dist
:
trusty
compiler
:
-
gcc
# - clang
env
:
global
:
-
secure
:
"
SnIBG/xLIHX3CSvUbqqsX8xTVqIqQ7fFS6HWO6KZQVBsT6yugTwYHbyhNiU531JejYJ/I3ZrDhXfYH3qFZiYxnH1sifvwV+fnTtMXpPN7qPZwIymkjcmm6gJF51e0C7VOfUbvKFv0ngwj+ul21rgZSMuoEvxPK0WxtE3/ZSfn9c="
-
APT_DEPENDENCIES="doxygen libeigen3-dev "
-
DEBSIGN_KEYID=5AE5CD75
-
LCOV_IGNORE_RULES="*unittest* /opt/openrobots/*"
-
CC=gcc
-
DO_COVERAGE_ON_BRANCH="master;release;devel"
-
DO_CPPCHECK_ON_BRANCH=""
-
DO_INSTALL_DOC_EXCEPT_ON_BRANCH=""
matrix
:
# - BUILDTYPE=Release
-
BUILDTYPE=Debug
notifications
:
email
:
-
hpp@laas.fr
branches
:
only
:
-
master
-
debian
-
devel
matrix
:
allow_failures
:
-
compiler
:
before_install
:
./travis_custom/custom_before_install
install
:
-
pip install --user coveralls
-
pip install --user numpy
script
:
-
export CMAKE_ADDITIONAL_OPTIONS="-DCMAKE_BUILD_TYPE=${BUILDTYPE}"
-
sudo free -m -t
-
./.travis/run ../travis_custom/custom_build
after_failure
:
./.travis/run after_failure
after_success
:
-
./.travis/run after_success
travis_custom/custom_before_install
0 → 100755
View file @
2c8eb149
#!/bin/bash
set
-e
# Set debug mode
set
-x
set
-v
# Add robotpkg
sudo
sh
-c
"echo
\"
deb [arch=amd64] http://robotpkg.openrobots.org/packages/debian/pub trusty robotpkg
\"
>> /etc/apt/sources.list "
curl http://robotpkg.openrobots.org/packages/debian/robotpkg.key |
sudo
apt-key add -
# show memory usage before install
sudo
free
-m
-t
# Setup environment variables.
export
APT_DEPENDENCIES
=
"doxygen libboost-system-dev libboost-test-dev libboost-filesystem-dev libboost-program-options-dev libeigen3-dev libtinyxml-dev libconsole-bridge-dev robotpkg-pinocchio robotpkg-dynamic-graph-v3 robotpkg-py27-dynamic-graph-v3 robotpkg-sot-core-v3 robotpkg-pinocchio robotpkg-tsid robotpkg-parametric-curves"
# Add Python dependency
export
APT_DEPENDENCIES
=
$APT_DEPENDENCIES
" libboost-python-dev robotpkg-eigenpy python2.7-dev python-numpy"
# When this script is called the current directory is ./custom_travis
.
./.travis/run ../.travis/before_install
# End debug mode
set
+v
set
+x
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment