Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

explicitly setup parallel_tests binstub on travis

ulferts1fd6f0933657
diff --git a/.travis.yml b/.travis.yml
index 888f8563305..cec88e78aa4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -63,13 +63,14 @@ before_install:
# Install latest bundler
- gem install bundler
+ # We do not want those gem groups
+ - bundle config set without 'development production docker'
+
# Install Node latest LTS
# This should only be necessary when preparing the cache or for npm test runs
# but installing later fails for unknown reasons.
- nvm install --lts
-bundler_args: --binstubs --without development production docker
-
stages:
- prepare cache
- test
diff --git a/script/ci/setup.sh b/script/ci/setup.sh
index 63a6412d2eb..3c43536a0cb 100644
--- a/script/ci/setup.sh
+++ b/script/ci/setup.sh
@@ -45,8 +45,10 @@ run() {
run "bash $(dirname $0)/db_setup.sh"
-# run migrations for mysql or postgres
+# run migrations for postgres
+# setup binstubs
if [ $1 != 'npm' ]; then
+ run "bundle binstubs parallel_tests"
run "bundle exec rake db:migrate"
fi