custom_before_install 959 Bytes
Newer Older
1
2
3
4
5
6
7
#!/bin/bash
set -e

# Set debug mode
set -x
set -v

8
# Add robotpkg 
9
sudo sh -c "echo \"deb [arch=amd64] http://robotpkg.openrobots.org/packages/debian trusty robotpkg\" >> /etc/apt/sources.list "
10
curl http://robotpkg.openrobots.org/packages/debian/robotpkg.key | sudo apt-key add -
11

12
13
14
# show memory usage before install
sudo free -m -t

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 robotpkg-urdfdom libconsole-bridge-dev"
17
# Add Python dependency
18
export APT_DEPENDENCIES=$APT_DEPENDENCIES" libboost-python-dev robotpkg-eigenpy python2.7-dev python-numpy"
19
20
21
# Add Geometry dependencies
#export APT_DEPENDENCIES=$APT_DEPENDENCIES" robotpkg-hpp-fcl robotpkg-assimp robotpkg-octomap"

22
# When this script is called the current directory is ./custom_travis
23
. ./.travis/run ../.travis/before_install
24
25
26
27

# End debug mode
set +v
set +x