Skip to content
This repository has been archived by the owner on Oct 18, 2022. It is now read-only.

[patch:ci] Change CI script to use implicit rspec call #50

Merged
merged 3 commits into from May 15, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
@@ -1,6 +1,6 @@
language: ruby
before_install: gem update --system
script: bundle exec rake
script: bundle exec rspec spec
rvm:
- 2.5
- 2.6
Expand Down
7 changes: 1 addition & 6 deletions Rakefile
@@ -1,6 +1 @@
require "bundler/gem_tasks"
require 'rspec/core/rake_task'
task :default => [:spec]

desc "Run the specs"
RSpec::Core::RakeTask.new(:spec)
require "bundler/gem_tasks"
2 changes: 1 addition & 1 deletion lib/eucalypt/core/templates/eucalypt/.travis.yml
@@ -1,6 +1,6 @@
language: ruby
before_install: gem update --system
script: bundle exec rake
script: bundle exec rspec spec
rvm: 2.5
services:
- postgresql
Expand Down
9 changes: 1 addition & 8 deletions lib/eucalypt/core/templates/eucalypt/Rakefile
@@ -1,9 +1,2 @@
require './app'

begin
require 'rspec/core/rake_task'
task :default => [:spec]
desc "Run the specs"
RSpec::Core::RakeTask.new :spec
rescue LoadError
end
# Add your Rake tasks here!