debian-mirror-gitlab/debian/tests/spec

24 lines
488 B
Text
Raw Normal View History

2016-09-15 21:33:05 +05:30
#!/bin/sh
if [ -z "$ADTTMP" ]; then
ADTTMP=$(mktemp -d)
cleanup() {
rm -rf "$ADTTMP"
}
trap cleanup INT TERM EXIT
fi
cd $ADTTMP
exec 2>&1
set -ex
cd /usr/share/gitlab
2016-09-17 15:33:46 +05:30
su gitlab -c 'truncate -s 0 Gemfile.lock'
2016-09-15 21:33:05 +05:30
export $(cat /etc/gitlab/gitlab-debian.conf)
export INCLUDE_TEST_DEPENDS="true"
2016-09-18 11:32:55 +05:30
su gitlab -c "bundle install --with development test --local"
2016-09-18 10:10:24 +05:30
su gitlab -c "bundle exec rake -f ${AUTOPKGTEST_TMP}/debian/tests/spec.rake
2016-09-16 00:02:48 +05:30
#config 2/2 failed, controllers many failed