summaryrefslogtreecommitdiff
path: root/tasks
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2020-10-19 01:23:11 -0600
committerGitHub <noreply@github.com>2020-10-19 01:23:11 -0600
commit4f155298308b646f3327619f6b0dfdbe52124366 (patch)
treed9905a8b7cdc445c8cd78be20cf30c5949887b2d /tasks
parent32edbedc65d1eae89f9cf112c8de3651440c12e1 (diff)
use CI jobs and update match for TruffleRuby (PR #3785)
- use jobs instead of matrix - run slower jobs first to reduce overall build time - use a single regex to match TruffleRuby in commit message
Diffstat (limited to 'tasks')
-rw-r--r--tasks/dependents.rake8
1 files changed, 3 insertions, 5 deletions
diff --git a/tasks/dependents.rake b/tasks/dependents.rake
index 45f1b10b..f7ae3bd1 100644
--- a/tasks/dependents.rake
+++ b/tasks/dependents.rake
@@ -2,11 +2,9 @@
namespace :build do
desc 'Trigger builds for all dependent projects on Travis CI and Github Actions'
task :dependents do
- if ENV['TRAVIS'].to_s == 'true'
- next unless ENV['TRAVIS_PULL_REQUEST'].to_s == 'false' &&
- ENV['TRAVIS_TAG'].to_s.empty? &&
- (ENV['TRAVIS_JOB_NUMBER'].to_s.end_with? '.1')
- end
+ next unless ENV['TRAVIS'].to_s == 'true' &&
+ ENV['TRAVIS_PULL_REQUEST'].to_s == 'false' &&
+ ENV['TRAVIS_TAG'].to_s.empty?
if (commit_hash = ENV['TRAVIS_COMMIT'])
commit_memo = %( (#{commit_hash.slice 0, 8})\n\nhttps://github.com/#{ENV['TRAVIS_REPO_SLUG'] || 'asciidoctor/asciidoctor'}/commit/#{commit_hash})