Install test only dependencies from rubygems.org for autopkgtest
This commit is contained in:
parent
6cfc40f263
commit
31b8c37178
1 changed files with 3 additions and 0 deletions
3
debian/tests/spec
vendored
3
debian/tests/spec
vendored
|
@ -22,6 +22,9 @@ su gitlab -c 'truncate -s 0 Gemfile.lock'
|
||||||
export RAILS_ENV=test
|
export RAILS_ENV=test
|
||||||
export DB=postgres
|
export DB=postgres
|
||||||
export INCLUDE_TEST_DEPENDS="true"
|
export INCLUDE_TEST_DEPENDS="true"
|
||||||
|
echo "Installing test only dependencies from rubygems.org..."
|
||||||
|
cp ${SOURCE_TREE}/debian/Gemfile.autopkgtest .
|
||||||
|
BUNDLE_GEMFILE=Gemfile.autopkgtest bundle install
|
||||||
su gitlab -c "bundle install --local"
|
su gitlab -c "bundle install --local"
|
||||||
su gitlab -c "mkdir -p tmp/tests/gitlab-shell"
|
su gitlab -c "mkdir -p tmp/tests/gitlab-shell"
|
||||||
export dbname=gitlab_test
|
export dbname=gitlab_test
|
||||||
|
|
Loading…
Reference in a new issue