Skip to content

Commit d9c0dd8

Browse files
committed
Change up travis URL.
1 parent 2ce44b3 commit d9c0dd8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/build/citool

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def parseArgs():
7474
parser.add_argument('-v', '--verbose', help='verbose output', action='store_true')
7575
parser.add_argument('-i', '--input-file', help='read logs from file rather than CI', action='store_true', dest='ifile')
7676
parser.add_argument('-o', '--output-file', help='store intermediate buffer to a file (e.g., jenkins console or component logs)', action='store_true', dest='ofile')
77-
parser.add_argument('-u', '--url', help='URL for CI build job (default is Travis CI)', default='https://api.travis-ci.org')
77+
parser.add_argument('-u', '--url', help='URL for CI build job (default is Travis CI)', default='https://api.travis-ci.com')
7878

7979
subparser = subparsers.add_parser('monitor', help='report passing or failing tests (only failing tests by default)')
8080
subparser.add_argument('-a', '--all', help='show all tests suites, passing and failing', action='store_true')
@@ -207,7 +207,7 @@ def monitorOnce(args):
207207
body = validateResponse(res)
208208

209209
if args.ofile:
210-
file = open('%s-console.log' % args.job, 'w')
210+
file = open('%s-console.log' % args.job, 'wb')
211211
file.write(body)
212212
file.close()
213213
if args.ifile or res.status == OK:

0 commit comments

Comments
 (0)