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

Use travis/pro that requires authentication for new repo

Oliver Günther942e7ba50b05
diff --git a/script/travis_pr_errors b/script/travis_pr_errors
index ff4c429ff93..b0dd9a12ed3 100755
--- a/script/travis_pr_errors
+++ b/script/travis_pr_errors
@@ -1,6 +1,7 @@
#!/usr/bin/env ruby
require 'pathname'
-require 'travis'
+require 'travis/pro'
+require 'travis/pro/auto_login'
require 'rest-client'
require 'parallel'
require 'ruby-progressbar'
@@ -19,7 +20,7 @@ rescue => e
end
puts "Looking for PR #{pr_number}"
-build = Travis::Repository.find('opf/openproject')
+build = Travis::Pro::Repository.find('opf/openproject')
.each_build
.detect { |b| b.pull_request_number == pr_number.to_i }