mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
Only run coveralls on travis
This commit is contained in:
parent
e1cdd6c503
commit
f699ca90cf
2 changed files with 5 additions and 3 deletions
|
@ -1,7 +1,9 @@
|
|||
source "https://rubygems.org"
|
||||
|
||||
platform :mri_21 do
|
||||
gem 'coveralls', require: false
|
||||
if ENV['TRAVIS']
|
||||
platform :mri_21 do
|
||||
gem 'coveralls', require: false
|
||||
end
|
||||
end
|
||||
|
||||
gem 'rails', '~> 4.0.0'
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
begin
|
||||
if RUBY_VERSION == '2.1.0' && !defined?(Rubinius)
|
||||
if ENV['TRAVIS'] && RUBY_VERSION == '2.1.0' && !defined?(Rubinius)
|
||||
require 'coveralls'
|
||||
Coveralls.wear!
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue