Skip to content

Commit d972e34

Browse files
authored
Add Coveralls badge (#5)
* coveralls changes
1 parent f8dfcd7 commit d972e34

File tree

4 files changed

+31
-2
lines changed

4 files changed

+31
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ script:
2525
- COVERAGE=true bundle exec rake ci:setup:rspec spec
2626

2727
after_script:
28-
- CI_REPORTS=$PWD/spec/reports testspace @.testspace.txt
28+
- CI_REPORTS=$PWD/spec/reports testspace @.testspace.txt --link=coveralls

Gemfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ gem 'bcrypt', '~> 3.1.7'
4040

4141
gem 'bootstrap-sass', '~> 3.1.1'
4242

43+
gem 'coveralls', require: false
44+
4345
group :development, :test do
4446
gem "rspec-rails", "~> 3.1"
4547
gem "factory_girl_rails", "~> 4.4.1"

Gemfile.lock

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,17 @@ GEM
5959
coffee-script-source
6060
execjs
6161
coffee-script-source (1.12.2)
62+
coveralls (0.7.1)
63+
multi_json (~> 1.3)
64+
rest-client
65+
simplecov (>= 0.7)
66+
term-ansicolor
67+
thor
6268
database_cleaner (1.3.0)
6369
diff-lcs (1.3)
6470
docile (1.1.5)
71+
domain_name (0.5.20190701)
72+
unf (>= 0.0.5, < 1.0.0)
6573
erubis (2.7.0)
6674
execjs (2.7.0)
6775
factory_girl (4.4.0)
@@ -86,6 +94,9 @@ GEM
8694
guard (~> 2.1)
8795
rspec (>= 2.14, < 4.0)
8896
hike (1.2.3)
97+
http-accept (1.7.0)
98+
http-cookie (1.0.3)
99+
domain_name (~> 0.5)
89100
i18n (0.8.6)
90101
jbuilder (2.6.4)
91102
activesupport (>= 3.0.0)
@@ -110,6 +121,7 @@ GEM
110121
minitest (5.10.3)
111122
multi_json (1.12.2)
112123
nenv (0.3.0)
124+
netrc (0.11.0)
113125
nokogiri (1.8.0)
114126
mini_portile2 (~> 2.2.0)
115127
notiffany (0.1.1)
@@ -150,6 +162,11 @@ GEM
150162
rb-inotify (0.9.10)
151163
ffi (>= 0.5.0, < 2)
152164
rdoc (4.3.0)
165+
rest-client (2.1.0)
166+
http-accept (>= 1.7.0, < 2.0)
167+
http-cookie (>= 1.0.2, < 2.0)
168+
mime-types (>= 1.16, < 4.0)
169+
netrc (~> 0.8)
153170
rspec (3.6.0)
154171
rspec-core (~> 3.6.0)
155172
rspec-expectations (~> 3.6.0)
@@ -218,9 +235,14 @@ GEM
218235
activesupport (>= 3.0)
219236
sprockets (>= 2.8, < 4.0)
220237
sqlite3 (1.3.13)
238+
sync (0.5.0)
239+
term-ansicolor (1.7.1)
240+
tins (~> 1.0)
221241
thor (0.20.0)
222242
thread_safe (0.3.6)
223243
tilt (1.4.1)
244+
tins (1.28.0)
245+
sync
224246
treetop (1.4.15)
225247
polyglot
226248
polyglot (>= 0.3.1)
@@ -231,6 +253,9 @@ GEM
231253
thread_safe (~> 0.1)
232254
uglifier (3.2.0)
233255
execjs (>= 0.3.0, < 3)
256+
unf (0.1.4)
257+
unf_ext
258+
unf_ext (0.0.7.7)
234259
unicode-display_width (1.3.0)
235260
xpath (2.1.0)
236261
nokogiri (~> 1.3)
@@ -246,6 +271,7 @@ DEPENDENCIES
246271
capybara (~> 2.4.3)
247272
ci_reporter_rspec
248273
coffee-rails (~> 4.0.0)
274+
coveralls
249275
database_cleaner (~> 1.3.0)
250276
factory_girl_rails (~> 4.4.1)
251277
faker (~> 1.4.3)
@@ -269,4 +295,4 @@ DEPENDENCIES
269295
uglifier (>= 1.3.0)
270296

271297
BUNDLED WITH
272-
1.15.1
298+
1.17.2

spec/spec_helper.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
# Code coverage
1919
if ENV['COVERAGE']
2020
require 'simplecov'
21+
require 'coveralls'
2122
end
2223

2324
RSpec.configure do |config|

0 commit comments

Comments
 (0)