Skip to content

Commit

Permalink
Sheldon build details: report build details to Shel-bot (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
retorquere authored and adam3smith committed Jun 11, 2019
1 parent 334e325 commit 1905b5a
Show file tree
Hide file tree
Showing 6 changed files with 60 additions and 26 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.bundle
*.swp
.ruby-version
.env
spec/sheldon/travis.json
2 changes: 2 additions & 0 deletions .rspec
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
--format Fuubar
--color
--require spec_helper.rb
--format json
--out spec/sheldon/travis.json
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: ruby
cache: bundler
rvm:
- 2.4.1
- 2.6.3
notifications:
email:
recipients:
Expand Down
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
ruby '2.6.3'
source 'https://rubygems.org'

gem 'rake'
gem 'rspec'
gem 'fuubar'
gem 'nokogiri'
gem 'csl', '~>1.1'
gem 'sheldon', git: 'https://github.com/citation-style-language/Sheldon.git'
70 changes: 46 additions & 24 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,47 +1,69 @@
GIT
remote: https://github.com/citation-style-language/Sheldon.git
revision: ab5d13637fe53da8eab1f924d4708d870cf96391
specs:
sheldon (0.1.33)
citeproc-ruby
csl-styles
diffy
dotenv
ostruct
reverse_markdown

GEM
remote: https://rubygems.org/
specs:
citeproc (1.0.9)
namae (~> 1.0)
citeproc-ruby (1.1.10)
citeproc (~> 1.0, >= 1.0.9)
csl (~> 1.5)
csl (1.5.0)
namae (~> 1.0)
csl-styles (1.0.1.9)
csl (~> 1.0)
diff-lcs (1.3)
fuubar (2.3.1)
diffy (3.3.0)
dotenv (2.7.2)
fuubar (2.4.0)
rspec-core (~> 3.0)
ruby-progressbar (~> 1.4)
mini_portile2 (2.3.0)
mini_portile2 (2.4.0)
namae (1.0.1)
nokogiri (1.8.2)
mini_portile2 (~> 2.3.0)
nokogiri (1.8.2-x64-mingw32)
mini_portile2 (~> 2.3.0)
nokogiri (1.8.2-x86-mingw32)
mini_portile2 (~> 2.3.0)
rake (12.3.1)
rspec (3.7.0)
rspec-core (~> 3.7.0)
rspec-expectations (~> 3.7.0)
rspec-mocks (~> 3.7.0)
rspec-core (3.7.1)
rspec-support (~> 3.7.0)
rspec-expectations (3.7.0)
nokogiri (1.10.3)
mini_portile2 (~> 2.4.0)
ostruct (0.1.0)
rake (12.3.2)
reverse_markdown (1.1.0)
nokogiri
rspec (3.8.0)
rspec-core (~> 3.8.0)
rspec-expectations (~> 3.8.0)
rspec-mocks (~> 3.8.0)
rspec-core (3.8.0)
rspec-support (~> 3.8.0)
rspec-expectations (3.8.3)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.7.0)
rspec-mocks (3.7.0)
rspec-support (~> 3.8.0)
rspec-mocks (3.8.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.7.0)
rspec-support (3.7.1)
ruby-progressbar (1.9.0)
rspec-support (~> 3.8.0)
rspec-support (3.8.0)
ruby-progressbar (1.10.1)

PLATFORMS
ruby
x64-mingw32
x86-mingw32

DEPENDENCIES
csl (~> 1.1)
fuubar
nokogiri
rake
rspec
sheldon!

RUBY VERSION
ruby 2.6.3p62

BUNDLED WITH
1.15.4
1.17.2
8 changes: 7 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,16 @@ rescue Bundler::BundlerError => e
exit e.status_code
end

if ENV['TRAVIS']
at_exit do
system('bundle exec sheldon')
end
end

require 'rspec/core'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
spec.rspec_opts = %w{ --require spec_helper.rb --format Fuubar --color }
spec.rspec_opts = %w{ --require spec_helper.rb --format Fuubar --color --format json --out spec/sheldon/travis.json }
end

task :default => [:spec]

0 comments on commit 1905b5a

Please sign in to comment.