Created
May 31, 2016 03:33
-
-
Save quantizor/ce91df5d7f3c82ec4020d551ece4d1f2 to your computer and use it in GitHub Desktop.
Part 2 of 2: Send the assembled JSON payload to Coveralls
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'coveralls' | |
# Craft the payload... | |
payload = { | |
:service_job_id => ENV['TRAVIS_JOB_ID'], | |
:service_name => 'travis-pro', | |
:source_files => source_files, | |
} | |
Coveralls::API.post_json('jobs', payload) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment