|
@@ -9,7 +9,7 @@ git_user, git_token, git_branch = ARGV
|
|
|
|
|
|
|
|
|
|
|
|
-TRAVIS_GIT_USERNAME = String.new("Travis CI server")
|
|
|
+TRAVIS_GIT_USERNAME = String.new("Drone CI server")
|
|
|
|
|
|
|
|
|
|
|
@@ -148,7 +148,7 @@ end
|
|
|
|
|
|
|
|
|
|
|
|
-File.write(previous_lint_report, "DO NOT TOUCH; GENERATED BY TRAVIS\n" + error_warning_string)
|
|
|
+File.write(previous_lint_report, "DO NOT TOUCH; GENERATED BY DRONE\n" + error_warning_string)
|
|
|
|
|
|
|
|
|
previous_git_username, st = Open3.capture2('git config user.name')
|
|
@@ -166,13 +166,10 @@ system ("git remote add origin https://" + git_user + ":" + git_token + "@github
|
|
|
|
|
|
system ('git add ' + PREVIOUS_LINT_RESULTS_FILE)
|
|
|
|
|
|
-
|
|
|
-travis_branch_name = ENV['TRAVIS_BRANCH']
|
|
|
-if travis_branch_name != nil
|
|
|
- system ('git checkout ' + git_branch)
|
|
|
-end
|
|
|
+
|
|
|
+system ('git checkout ' + git_branch)
|
|
|
|
|
|
-
|
|
|
+
|
|
|
system ('git commit -m "Drone: update Lint results to reflect reduced error/warning count [skip ci]" ')
|
|
|
|
|
|
|