5 # Olivier BERGER <olivier.berger@it-sudparis.eu>
7 # This script will update the system and the checked-out branch to the
8 # latest state to be tested.
10 # First, make sure the Debian distro is up-to-date
12 aptitude -y dist-upgrade
14 # Make sure to add tools needed for build.sh
15 aptitude -y install mini-dinstall dput devscripts equivs
16 mk-build-deps -i /root/fusionforge/src/debian/control -t 'aptitude -y' -r
18 # "Backport" recent dependency
19 wget http://ftp.fr.debian.org/debian/pool/main/l/loggerhead/loggerhead_1.19~bzr479-3_all.deb
20 aptitude install gdebi-core
21 gdebi --non-interactive loggerhead_1.19~bzr479-3_all.deb
28 # If using bzr, or git, update accordingly
29 if [ -d .bzr/ ] ; then
35 # If available, install the JUnit OSLC provider test suite
36 if [ -d src/plugins/oslc/tests ]; then
37 cd /root/fusionforge/src/plugins/oslc/tests
38 ./setup-provider-test.sh
42 aptitude -y install php5-cli phpunit phpunit-selenium default-jre iceweasel