From bec325cfd6aca0fbc405e1072d5e3b2da0b1f9bf Mon Sep 17 00:00:00 2001 From: Carlos Goce Date: Tue, 10 Mar 2015 21:22:04 +0100 Subject: Add shippable config file --- shippable.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 shippable.yml diff --git a/shippable.yml b/shippable.yml new file mode 100644 index 0000000..d13a455 --- /dev/null +++ b/shippable.yml @@ -0,0 +1,14 @@ +language: ruby + +rvm: + - 1.9.3 + - 2.1.2 + +env: + - CI_REPORTS=shippable/testresults COVERAGE_REPORTS=shippable/codecoverage + +before_script: + - mkdir -p shippable/testresults + +script: + - rspec -f JUnit -o shippable/testresults/results.xml -- cgit v1.2.3 From d50fdb4473577fa2cdfcd298bbe9c25b1d1eabb4 Mon Sep 17 00:00:00 2001 From: Carlos Goce Date: Tue, 10 Mar 2015 21:29:08 +0100 Subject: Add jUnit formatter --- Gemfile | 9 ++++++++- Gemfile.lock | 6 ++++++ shippable.yml | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/Gemfile b/Gemfile index c95c1ab..7bea097 100644 --- a/Gemfile +++ b/Gemfile @@ -4,4 +4,11 @@ gem 'prawn', '~> 1.3.0' gem 'prawn-table', '~> 0.2.1' gem 'rake', '~> 10.4.2' gem 'activesupport', '~> 4.2.0' -gem 'rspec', '~> 3.1.0' + +group :development, :test do + gem 'rspec', '~> 3.1.0' +end + +group :test do + gem 'rspec_junit_formatter', '~> 0.2.0' +end \ No newline at end of file diff --git a/Gemfile.lock b/Gemfile.lock index c92cb67..08a20b7 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -7,6 +7,7 @@ GEM minitest (~> 5.1) thread_safe (~> 0.3, >= 0.3.4) tzinfo (~> 1.1) + builder (3.2.2) diff-lcs (1.2.5) i18n (0.7.0) json (1.8.1) @@ -29,6 +30,10 @@ GEM rspec-mocks (3.1.3) rspec-support (~> 3.1.0) rspec-support (3.1.2) + rspec_junit_formatter (0.2.0) + builder (< 4) + rspec (>= 2, < 4) + rspec-core (!= 2.12.0) thread_safe (0.3.4) ttfunk (1.4.0) tzinfo (1.2.2) @@ -43,3 +48,4 @@ DEPENDENCIES prawn-table (~> 0.2.1) rake (~> 10.4.2) rspec (~> 3.1.0) + rspec_junit_formatter (~> 0.2.0) diff --git a/shippable.yml b/shippable.yml index d13a455..1454e3f 100644 --- a/shippable.yml +++ b/shippable.yml @@ -11,4 +11,4 @@ before_script: - mkdir -p shippable/testresults script: - - rspec -f JUnit -o shippable/testresults/results.xml + - rspec --format RspecJunitFormatter --out shippable/testresults/results.xml -- cgit v1.2.3 From fd82aa7895ff685e69dd2d1d10839521a9653551 Mon Sep 17 00:00:00 2001 From: Carlos Goce Date: Tue, 10 Mar 2015 21:38:33 +0100 Subject: Add shippable badge --- README.rdoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.rdoc b/README.rdoc index 0dc2878..8c0eed7 100644 --- a/README.rdoc +++ b/README.rdoc @@ -6,6 +6,8 @@ with different formats, localized text, custom colors, etc. and be able to create beautiful pdfs to use on Ilustrator, Coreldraw, Photoshop or where you need it ----------------------------------------------------------- +[![Build Status](https://api.shippable.com/projects/54fedaf45ab6cc135296cb36/badge?branchName=develop)](https://app.shippable.com/projects/54fedaf45ab6cc135296cb36/builds/latest) + == Installation bundle install -- cgit v1.2.3