verbose mode now passes verbose flag to curl

This commit is contained in:
Spencer Florence 2015-01-06 23:38:00 -05:00
parent 9bfc3da411
commit 24798287b2
2 changed files with 5 additions and 2 deletions

View File

@ -26,7 +26,9 @@
(if (verbose)
(current-output-port)
(open-output-nowhere))])
(void (system* (path->string post) coverage-file))))
(void (system* (path->string post)
coverage-file
(if (vebose) "-v" "")))))
;; Maps service name to the environment variable that indicates that the service is to be used.
(define BUILD-TYPES (hash "travis-ci" "TRAVIS_JOB_ID"))

View File

@ -1,5 +1,6 @@
#!/usr/bin/env bash
file=$1
verbose=$2
curl -v --include --form json_file=@"$file" "https://coveralls.io/api/v1/jobs"
curl $verbose --include --form json_file=@"$file" "https://coveralls.io/api/v1/jobs"