File tree 3 files changed +6
-5
lines changed
3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 20
20
- ubuntu-16.04
21
21
ruby :
22
22
- 2.7
23
+
23
24
steps :
24
25
- uses : actions/checkout@v2
25
26
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ RSpec::Core::RakeTask.new(:spec) do |t|
14
14
t . pattern = FileList [ file_pattern ]
15
15
end
16
16
17
- if ENV . key? ( "TRAVIS " )
17
+ if ENV . key? ( "CI " )
18
18
task default : %i[ spec ]
19
19
else
20
20
task default : %i[ spec rubocop ]
Original file line number Diff line number Diff line change @@ -17,12 +17,12 @@ def min_influx_version(version)
17
17
end
18
18
19
19
RSpec . configure do |config |
20
- config . color = ENV [ "TRAVIS " ] != "true"
21
- config . filter_run_excluding smoke : ENV [ "TRAVIS " ] != "true" || !ENV . key? ( "influx_version" )
22
- puts "SMOKE TESTS ARE NOT CURRENTLY RUNNING" if ENV [ "TRAVIS " ] != "true"
20
+ config . color = ENV [ "CI " ] != "true"
21
+ config . filter_run_excluding smoke : ENV [ "CI " ] != "true" || !ENV . key? ( "influx_version" )
22
+ puts "SMOKE TESTS ARE NOT CURRENTLY RUNNING" if ENV [ "CI " ] != "true"
23
23
24
24
# rubocop:disable Style/ConditionalAssignment
25
- if config . files_to_run . one? || ENV [ "TRAVIS " ] == "true"
25
+ if config . files_to_run . one? || ENV [ "CI " ] == "true"
26
26
config . formatter = :documentation
27
27
else
28
28
config . formatter = :progress
You can’t perform that action at this time.
0 commit comments