diff --git a/.travis.yml b/.travis.yml index a5cdd0fcd..5e57a6c44 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,6 +13,5 @@ matrix: gemfile: ci-gemfiles/ruby-3.0 env: - ENABLE_OJ=true - - RUN_SIMPLECOV=true - RUN_RUBOCOP=true - RUN_CODECOV=true diff --git a/pagy-on-docker/README.md b/pagy-on-docker/README.md index 17323641f..c74ac4796 100644 --- a/pagy-on-docker/README.md +++ b/pagy-on-docker/README.md @@ -76,4 +76,4 @@ When you want to get rid of everything related to the `pagy` development on your - If you use different pagy images for different pagy versions/branches: - Remember to checkout the right branch before using it - - If you test it with `RUN_SIMPLECOV` you may need to `rm -rf coverage` or you may get some error that will not allow you to run the tests + - If you get some problem running the tests you might need to `rm -rf coverage` diff --git a/pagy-on-docker/docker-compose.yml b/pagy-on-docker/docker-compose.yml index 4fee04e96..1a84f04ef 100644 --- a/pagy-on-docker/docker-compose.yml +++ b/pagy-on-docker/docker-compose.yml @@ -27,7 +27,6 @@ services: - user_home:/home/$USER environment: - ENABLE_OJ=${ENABLE_OJ:-true} - - RUN_SIMPLECOV=${RUN_SIMPLECOV:-true} - RUN_RUBOCOP=${RUN_RUBOCOP:-true} stdin_open: true tty: true diff --git a/test/test_helper.rb b/test/test_helper.rb index ceb5fbdbd..a42ecd2e9 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -3,8 +3,7 @@ $VERBOSE = {'false' => false, 'true' => true}[ENV['VERBOSE']] if ENV['VERBOSE'] require 'bundler/setup' - -require 'simplecov' if ENV['RUN_SIMPLECOV'] == 'true' +require 'simplecov' $LOAD_PATH.unshift File.expand_path('../lib', __dir__)