File tree Expand file tree Collapse file tree 4 files changed +51
-2
lines changed Expand file tree Collapse file tree 4 files changed +51
-2
lines changed Original file line number Diff line number Diff line change 1
- * build *
1
+ build *
2
2
vsbld *
3
3
include /sot-core /import-default-paths.h
4
4
unitTesting /test-paths.h
Original file line number Diff line number Diff line change @@ -18,7 +18,10 @@ branches:
18
18
matrix :
19
19
allow_failures :
20
20
- compiler : clang
21
- script : ./.travis/run build
21
+ before_install : ./travis_custom/custom_before_install
22
+ script :
23
+ - sudo free -m -t
24
+ - ./.travis/run ../travis_custom/custom_build
22
25
after_success : ./.travis/run after_success
23
26
after_failure : ./.travis/run after_failure
24
27
before_install : ./.travis/run before_install
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ set -e
3
+
4
+ # Set debug mode
5
+ set -x
6
+ set -v
7
+
8
+ # Add robotpkg
9
+ sudo sh -c " echo \" deb [arch=amd64] http://robotpkg.openrobots.org/packages/debian/pub trusty robotpkg\" >> /etc/apt/sources.list "
10
+ curl http://robotpkg.openrobots.org/packages/debian/robotpkg.key | sudo apt-key add -
11
+
12
+ # show memory usage before install
13
+ sudo free -m -t
14
+
15
+ # Setup environment variables.
16
+ 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 "
17
+
18
+ # When this script is called the current directory is ./custom_travis
19
+ . ./.travis/run ../.travis/before_install
20
+
21
+ # End debug mode
22
+ set +v
23
+ set +x
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ set -e
3
+
4
+ # Set debug mode
5
+ set -x
6
+ set -v
7
+
8
+ # Setup environment variables.
9
+ export CMAKE_ADDITIONAL_OPTIONS=" ${CMAKE_ADDITIONAL_OPTIONS} -DCMAKE_CXX_FLAGS=-DBOOST_SYSTEM_NO_DEPRECATED "
10
+ if [[ " ;${DO_INSTALL_DOC_EXCEPT_ON_BRANCH} ;" == * " ;${CI_BRANCH} ;" * ]]; then
11
+ export CMAKE_ADDITIONAL_OPTIONS=" ${CMAKE_ADDITIONAL_OPTIONS} -DINSTALL_DOCUMENTATION=\" OFF\" "
12
+ else
13
+ export CMAKE_ADDITIONAL_OPTIONS=" ${CMAKE_ADDITIONAL_OPTIONS} -DINSTALL_DOCUMENTATION=\" ON\" "
14
+ fi
15
+ export PKG_CONFIG_PATH=" ${PKG_CONFIG_PATH} :/opt/openrobots/lib/pkgconfig"
16
+ export LD_LIBRARY_PATH=" ${LD_LIBRARY_PATH} :/opt/openrobots/lib"
17
+
18
+ # Setup environment variables.
19
+ . ./.travis/run ../.travis/build
20
+
21
+ # End debug mode
22
+ set +v
23
+ set +x
You can’t perform that action at this time.
0 commit comments