Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
sot-dyninv
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
sot-dyninv
Commits
ce6bff73
Commit
ce6bff73
authored
11 years ago
by
Thomas Moulard
Browse files
Options
Downloads
Patches
Plain Diff
[travis] Add Travis and coveralls.io support
parent
60035956
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.travis.yml
+29
-0
29 additions, 0 deletions
.travis.yml
.travis/build
+50
-0
50 additions, 0 deletions
.travis/build
with
79 additions
and
0 deletions
.travis.yml
0 → 100644
+
29
−
0
View file @
ce6bff73
matrix
:
allow_failures
:
-
compiler
:
clang
script
:
./.travis/build
language
:
cpp
after_success
:
-
coveralls -e _travis/install -e tests
-
git config --global user.name "Travis CI"
-
git config --global user.email "thomas.moulard+travis@gmail.com"
-
git remote set-url origin https://thomas-moulard:${GH_TOKEN}@github.com/stack-of-tasks/dynamic-graph.git
-
git fetch origin gh-pages:gh-pages
-
cd _travis/build/doc && ../../../cmake/github/update-doxygen-doc.sh
branches
:
only
:
-
master
notifications
:
email
:
-
hpp-source@laas.fr
before_install
:
-
git submodule update --init --recursive
-
sudo apt-get update -qq
-
sudo apt-get install -qq doxygen doxygen-latex libboost-all-dev libeigen3-dev liblapack-dev libblas-dev gfortran
-
sudo pip install cpp-coveralls --use-mirrors
env
:
global
:
secure
:
kxgFbSRYzVa2zL4u3V+53D/cte66pnqWriB/em9Jslaa7EGu9xEV57nXzsSRJe29xdSipAY56RgehjoMo36DtpTO/5zj2aeIscYQac47fTvZmgI0UazyMnhDR1uB8UIy01U4NdXyGgLKNW1kWA48ulw+e7+FpOpnlAztyNZBIwk=
compiler
:
-
clang
-
gcc
This diff is collapsed.
Click to expand it.
.travis/build
0 → 100755
+
50
−
0
View file @
ce6bff73
#!/bin/sh
set
-
ev
# Directories.
root_dir
=
`pwd`
build_dir
=
"
$root_dir/_travis/build
"
install_dir
=
"
$root_dir/_travis/install
"
# Shortcuts.
git_clone
=
"
git clone --quiet --recursive
"
# Create layout.
rm
-
rf
"
$build_dir
"
"
$install_dir
"
mkdir
-
p
"
$build_dir
"
mkdir
-
p
"
$install_dir
"
# Setup environment variables.
export
LD_LIBRARY_PATH
=
"
$install_dir/lib:$LD_LIBRARY_PATH
"
export
LD_LIBRARY_PATH
=
"
$install_dir/lib/`dpkg-architecture -qDEB_BUILD_MULTIARCH`:$LD_LIBRARY_PATH
"
export
PKG_CONFIG_PATH
=
"
$install_dir/lib/pkgconfig:$PKG_CONFIG_PATH
"
export
PKG_CONFIG_PATH
=
"
$install_dir/lib/`dpkg-architecture -qDEB_BUILD_MULTIARCH`/pkgconfig:$PKG_CONFIG_PATH
"
install_dependency
()
{
echo
"
--> Compiling $1
"
mkdir
-
p
"
$build_dir/$1
"
cd
"
$build_dir
"
$
git_clone
"
git://github.com/$1
"
"
$1
"
cd
"
$build_dir/$1
"
cmake
.
-
DCMAKE_INSTALL_PREFIX
:
STRING
=
"
$install_dir
"
make
install
}
# Retrieve jrl-mathtools
install_dependency
jrl
-
umi3218
/
jrl
-
mathtools
install_dependency
jrl
-
umi3218
/
jrl
-
mal
install_dependency
stack
-
of
-
tasks
/
dynamic
-
graph
install_dependency
stack
-
of
-
tasks
/
sot
-
core
install_dependency
stack
-
of
-
tasks
/
soth
# Compile and run tests
cd
"
$build_dir
"
cmake
"
$root_dir
"
-
DCMAKE_INSTALL_PREFIX
=
"
$install_dir
"
\
-
DCMAKE_CXX_FLAGS
=
"
--coverage
"
\
-
DCMAKE_EXE_LINKER_FLAGS
=
"
--coverage
"
\
-
DCMAKE_MODULE_LINKER_FLAGS
=
"
--coverage
"
\
-
DCMAKE_INSTALL_PREFIX
:
STRING
=
"
$install_dir
"
make
make
test
make
install
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