test(jekyll3): Make it all pass under Jekyll v3
This commit is contained in:
parent
6a9e815603
commit
adfb9ce96b
@ -2,12 +2,7 @@ appraise 'jekyll-v2' do
|
||||
gem 'jekyll', '~> 2.5'
|
||||
end
|
||||
|
||||
appraise 'jekyll-v3_1_3' do
|
||||
gem 'jekyll', '3.1.3'
|
||||
gem 'jekyll-paginate', '~> 1.1.0'
|
||||
end
|
||||
|
||||
appraise 'jekyll-v3_1_6' do
|
||||
gem 'jekyll', '3.1.6'
|
||||
appraise 'jekyll-v3' do
|
||||
gem 'jekyll', '~> 3.0'
|
||||
gem 'jekyll-paginate', '~> 1.1.0'
|
||||
end
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
guard :rspec, cmd: 'appraisal jekyll-v3_1_3 bundle exec rspec --color --format documentation' do
|
||||
guard :rspec, cmd: 'appraisal jekyll-v3 bundle exec rspec --color --format documentation' do
|
||||
watch(%r{^spec/.+_spec\.rb$})
|
||||
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
|
||||
watch('spec/spec_helper.rb') { 'spec' }
|
||||
@ -1,7 +0,0 @@
|
||||
guard :rspec, cmd: 'appraisal jekyll-v3_1_6 bundle exec rspec --color --format documentation' do
|
||||
watch(%r{^spec/.+_spec\.rb$})
|
||||
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
|
||||
watch('spec/spec_helper.rb') { 'spec' }
|
||||
end
|
||||
|
||||
notification :off
|
||||
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
cd "$(dirname "$BASH_SOURCE")"
|
||||
|
||||
./test_v2 && ./test_v3_1_3 && ./test_v3_1_6
|
||||
./test_v2 && ./test_v3
|
||||
|
||||
6
scripts/test_v3
Executable file
6
scripts/test_v3
Executable file
@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
cd "$(dirname "$BASH_SOURCE")"/..
|
||||
|
||||
echo "Testing under Jekyll 3"
|
||||
COVERAGE=1 appraisal jekyll-v3 bundle exec rspec
|
||||
|
||||
@ -1,6 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
cd "$(dirname "$BASH_SOURCE")"/..
|
||||
|
||||
echo "Testing under Jekyll 3.1.3"
|
||||
COVERAGE=1 appraisal jekyll-v3_1_3 bundle exec rspec
|
||||
|
||||
@ -1,6 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
cd "$(dirname "$BASH_SOURCE")"/..
|
||||
|
||||
echo "Testing under Jekyll 3.1.6"
|
||||
COVERAGE=1 appraisal jekyll-v3_1_6 bundle exec rspec
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
cd "$(dirname "$BASH_SOURCE")"/..
|
||||
guard --guardfile ./Guardfile_jekyllv3_1_3
|
||||
guard --guardfile ./Guardfile_jekyllv3
|
||||
|
||||
@ -1,4 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
cd "$(dirname "$BASH_SOURCE")"/..
|
||||
guard --guardfile ./Guardfile_jekyllv3_1_6
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user