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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Cache webdrivers on CI in cache_prepare step (#8697)
Oliver Güntherd463f517956d
diff --git a/.travis.yml b/.travis.ymlindex c70cc270f81..fce929f68c4 100644--- a/.travis.yml+++ b/.travis.yml@@ -39,6 +39,7 @@ cache:directories:- public/assets- frontend/src/locales+ - ~/.webdriversbranches:only:diff --git a/Gemfile b/Gemfileindex a5199090646..05bf0b1e897 100644--- a/Gemfile+++ b/Gemfile@@ -220,7 +220,7 @@ group :test dogem 'capybara', '~> 3.33.0'gem 'capybara-screenshot', '~> 1.0.17'gem 'selenium-webdriver', '~> 3.14'- gem 'webdrivers', '~> 4.4.1', require: false+ gem 'webdrivers', '~> 4.4.1'gem 'fuubar', '~> 2.5.0'gem 'timecop', '~> 0.9.0'diff --git a/script/ci/cache_prepare.sh b/script/ci/cache_prepare.shindex 7f181c418a6..d51d7248a5a 100644--- a/script/ci/cache_prepare.sh+++ b/script/ci/cache_prepare.sh@@ -38,10 +38,11 @@ run() {eval $2;}-run "bundle exec rake db:migrate"+run "bundle exec rake db:migrate webdrivers:chromedriver:update webdrivers:geckodriver:update"run "for i in {1..3}; do npm install && break || sleep 15; done"run "bundle exec rake assets:precompile assets:clean"run "cp -rp config/frontend_assets.manifest.json public/assets/frontend_assets.manifest.json"+