diff options
-rw-r--r-- | .travis.yml | 8 | ||||
-rw-r--r-- | Rakefile | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml index fa79804507..1c47c49b41 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,10 @@ language: ruby dist: xenial -script: rake spec:travis +script: bin/rake spec:travis before_script: - - travis_retry rake override_version - - travis_retry rake spec:travis:deps - - travis_retry rake man:build + - travis_retry bin/rake override_version + - travis_retry bin/rake spec:travis:deps + - travis_retry bin/rake man:build branches: only: @@ -134,7 +134,7 @@ namespace :spec do desc "Run the tests on Travis CI against a RubyGem version (using ENV['RGV'])" task :travis do - rg = "co" if ENV["RGV"].nil? || File.directory?(File.expand_path(ENV["RGV"])) + rg = "co" if ENV["RGV"].nil? || ENV["RGV"].empty? || File.directory?(File.expand_path(ENV["RGV"])) # disallow making network requests on CI ENV["BUNDLER_SPEC_PRE_RECORDED"] = "TRUE" |