Permalink
Browse files

Fix support for Coveralls on mac workers (2)

  • Loading branch information...
1 parent 258d746 commit 95b8bc11ab07fa59717ca296603d38cac695d36d @fabiopelosin fabiopelosin committed Mar 18, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 .travis.yml
  2. +1 −1 spec/spec_helper.rb
View
@@ -5,7 +5,7 @@ env:
- RVM_RUBY_VERSION=1.9.3 NOEXEC_DISABLE=1 RUBY_VERSION_SPECIFIC='sudo ln -s /usr/bin/llvm-gcc-4.2 /usr/bin/gcc-4.2 && curl http://curl.haxx.se/ca/cacert.pem -o /usr/local/share/cacert.pem' SSL_CERT_FILE=/usr/local/share/cacert.pem
before_install: source ~/.rvm/scripts/rvm && rvm use $RVM_RUBY_VERSION
install: eval $RUBY_VERSION_SPECIFIC && rake bootstrap[use_bundle_dir]
-script: TRAVIS=true bundle exec rake spec
+script: CI=true bundle exec rake spec
notifications:
campfire:
on_success: change
View
@@ -5,7 +5,7 @@
require 'simplecov'
require 'coveralls'
- if ENV['CI'] || ENV['TRAVIS']
+ if ENV['CI']
SimpleCov.formatter = Coveralls::SimpleCov::Formatter
elsif ENV['GENERATE_COVERAGE']
SimpleCov.formatter = SimpleCov::Formatter::HTMLFormatter

0 comments on commit 95b8bc1

Please sign in to comment.