Skip to content

Commit 08d4383

Browse files
[ci] Get all failing CI jobs report a failing CI status (#203)
* Try fixed ruby-maven * Fix errors about ruby-maven not being available * Add missing `rake` development dependency * Keep development dependencies in a single place * Test unit seems also needed * Need `bundle install` too
1 parent dd78267 commit 08d4383

File tree

3 files changed

+24
-23
lines changed

3 files changed

+24
-23
lines changed

.travis.yml

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -28,54 +28,55 @@ matrix:
2828
- jdk: openjdk7
2929
env: TEST_PROFILE=test-9.1.17.0
3030
- jdk: oraclejdk11
31-
env: TEST_COMMAND="jruby -S rake integration:install integration:test"
31+
env: TEST_COMMAND="jruby -rbundler/setup -S rake integration:install integration:test" BUNDLE_INSTALL=true
3232
- rvm: jruby-head
3333
include:
3434
# since maven runit fails to boot with test-unit being a default gem on 9.2 :
3535
- jdk: oraclejdk8
36-
env: TEST_COMMAND="jruby -rbundler/setup -S rmvn test-compile && jruby -S rake test" BUNDLE_INSTALL=true
36+
env: TEST_COMMAND="jruby -rbundler/setup -S rmvn test-compile && jruby -rbundler/setup -S rake test" BUNDLE_INSTALL=true
3737
rvm: jruby-9.2.5.0
3838
- jdk: oraclejdk8
39-
env: TEST_COMMAND="jruby -rbundler/setup -S rmvn test-compile && jruby -S rake test" BUNDLE_INSTALL=true
39+
env: TEST_COMMAND="jruby -rbundler/setup -S rmvn test-compile && jruby -rbundler/setup -S rake test" BUNDLE_INSTALL=true
4040
rvm: jruby-9.2.9.0
4141
#
4242
- jdk: openjdk7
43-
env: TEST_COMMAND="jruby -rbundler/setup -S rmvn test-compile && jruby -S rake test" BUNDLE_INSTALL=true
43+
env: TEST_COMMAND="jruby -rbundler/setup -S rmvn test-compile && jruby -rbundler/setup -S rake test" BUNDLE_INSTALL=true
4444
rvm: jruby-1.7.24
4545
- jdk: oraclejdk8
46-
env: TEST_COMMAND="jruby -rbundler/setup -S rmvn test-compile && jruby -S rake test" BUNDLE_INSTALL=true
46+
env: TEST_COMMAND="jruby -rbundler/setup -S rmvn test-compile && jruby -rbundler/setup -S rake test" BUNDLE_INSTALL=true
4747
rvm: jruby-1.7.27
4848
#
4949
- jdk: openjdk7
50-
env: TEST_COMMAND="jruby -rbundler/setup -S rmvn verify -P test-1.7.26" BUNDLE_INSTALL=true RUBY_MAVEN_VERSION=3.3.8
50+
env: TEST_COMMAND="jruby -rbundler/setup -S rmvn verify -P test-1.7.26" BUNDLE_INSTALL=true
51+
5152
rvm: jruby-1.7.26
5253
- jdk: oraclejdk8
53-
env: TEST_COMMAND="jruby -rbundler/setup -S rmvn test-compile && jruby -S rake test" BUNDLE_INSTALL=true
54+
env: TEST_COMMAND="jruby -rbundler/setup -S rmvn test-compile && jruby -rbundler/setup -S rake test" BUNDLE_INSTALL=true
5455
rvm: jruby-9.2.8.0
5556
- jdk: oraclejdk11
56-
env: TEST_COMMAND="jruby -rbundler/setup -S rmvn test-compile && jruby -S rake test" BUNDLE_INSTALL=true
57+
env: TEST_COMMAND="jruby -rbundler/setup -S rmvn test-compile && jruby -rbundler/setup -S rake test" BUNDLE_INSTALL=true
5758
rvm: jruby-9.2.9.0
5859
- jdk: oraclejdk8
59-
env: TEST_COMMAND="jruby -rbundler/setup -S rmvn test-compile && jruby -S rake test" BUNDLE_INSTALL=true
60+
env: TEST_COMMAND="jruby -rbundler/setup -S rmvn test-compile && jruby -rbundler/setup -S rake test" BUNDLE_INSTALL=true
6061
rvm: jruby-head
6162
- jdk: oraclejdk11
62-
env: TEST_COMMAND="jruby -rbundler/setup -S rmvn test-compile && jruby -S rake test" BUNDLE_INSTALL=true
63+
env: TEST_COMMAND="jruby -rbundler/setup -S rmvn test-compile && jruby -rbundler/setup -S rake test" BUNDLE_INSTALL=true
6364
rvm: jruby-head
6465
#
6566
- jdk: oraclejdk8
66-
env: TEST_COMMAND="jruby -S rake integration:install integration:test"
67+
env: TEST_COMMAND="jruby -rbundler/setup -S rake integration:install integration:test" BUNDLE_INSTALL=true
6768
rvm: jruby-1.7.26
6869
- jdk: openjdk7
69-
env: TEST_COMMAND="jruby -S rake integration:install integration:test"
70+
env: TEST_COMMAND="jruby -rbundler/setup -S rake integration:install integration:test" BUNDLE_INSTALL=true
7071
rvm: jruby-1.7.27
7172
- jdk: oraclejdk8
72-
env: TEST_COMMAND="jruby -S rake integration:install integration:test"
73+
env: TEST_COMMAND="jruby -rbundler/setup -S rake integration:install integration:test" BUNDLE_INSTALL=true
7374
rvm: jruby-9.2.8.0
7475
- jdk: openjdk7
75-
env: TEST_COMMAND="jruby -S rake integration:install integration:test"
76+
env: TEST_COMMAND="jruby -rbundler/setup -S rake integration:install integration:test" BUNDLE_INSTALL=true
7677
rvm: jruby-9.1.17.0
7778
- jdk: oraclejdk11
78-
env: TEST_COMMAND="jruby -S rake integration:install integration:test"
79+
env: TEST_COMMAND="jruby -rbundler/setup -S rake integration:install integration:test" BUNDLE_INSTALL=true
7980
rvm: jruby-9.2.9.0
8081
notifications:
8182
irc:

Gemfile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,15 @@ source 'https://rubygems.org'
33
# Specify your gem's dependencies in the gemspec
44
gemspec
55

6+
gem "rake"
7+
68
# for less surprises with newer releases
79
gem 'jar-dependencies', '~> 0.3.11', :require => nil
810

11+
gem 'mocha', '~> 1.4', '< 2.0'
12+
913
# for the rake task
10-
gem 'ruby-maven', ENV['RUBY_MAVEN_VERSION'] || '~> 3.3.8'
14+
gem 'ruby-maven', github: 'deivid-rodriguez/ruby-maven', branch: 'exit_status'
15+
16+
# NOTE: runit-maven-plugin will use it's own :
17+
gem 'test-unit', '2.5.5'

jruby-openssl.gemspec

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,6 @@ Gem::Specification.new do |s|
3131

3232
s.required_ruby_version = '>= 1.9.3'
3333
s.required_rubygems_version = '>= 2.4.8'
34-
35-
s.add_development_dependency 'jar-dependencies', '~> 0.1'
36-
37-
s.add_development_dependency 'mocha', '~> 1.4', '< 2.0'
38-
s.add_development_dependency 'ruby-maven', '~> 3.0'
39-
# NOTE: runit-maven-plugin will use it's own :
40-
#s.add_development_dependency 'test-unit', '2.5.5'
4134
end
4235

4336
# vim: syntax=Ruby

0 commit comments

Comments
 (0)