Skip to content
This repository has been archived by the owner on Apr 18, 2022. It is now read-only.

Make sure Travis passes for non-branch pull requests #50

Closed
tswast opened this issue Mar 18, 2016 · 1 comment
Closed

Make sure Travis passes for non-branch pull requests #50

tswast opened this issue Mar 18, 2016 · 1 comment
Assignees

Comments

@tswast
Copy link
Contributor

tswast commented Mar 18, 2016

Ran into this in #49.

Maven fails on non-branch PRs. https://travis-ci.org/GoogleCloudPlatform/cloud-vision/jobs/116719540

Running com.google.cloud.vision.samples.facedetect.FaceDetectAppIT
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.252 sec <<< FAILURE! - in com.google.cloud.vision.samples.facedetect.FaceDetectAppIT
detectFaces_withFace_returnsAtLeastOneFace(com.google.cloud.vision.samples.facedetect.FaceDetectAppIT)  Time elapsed: 0.173 sec  <<< ERROR!
java.lang.IllegalArgumentException: no JSON input found
    at com.google.cloud.vision.samples.facedetect.FaceDetectAppIT.setUp(FaceDetectAppIT.java:44)
detectFaces_badImage_throwsException(com.google.cloud.vision.samples.facedetect.FaceDetectAppIT)  Time elapsed: 0.001 sec  <<< ERROR!
java.lang.IllegalArgumentException: no JSON input found
    at com.google.cloud.vision.samples.facedetect.FaceDetectAppIT.setUp(FaceDetectAppIT.java:44)

Go fails on non-branch PRs https://travis-ci.org/GoogleCloudPlatform/cloud-vision/jobs/116719539

++go vet ./go/...
++'[' -f /home/travis/build/GoogleCloudPlatform/cloud-vision/client-secret.json ']'
++go test -v ./go/...
=== RUN   TestLabel
--- FAIL: TestLabel (0.13s)
    Error Trace:    label_test.go:40
    Error:      Received unexpected error "google: error getting credentials using GOOGLE_APPLICATION_CREDENTIALS environment variable: unexpected end of JSON input"
@tswast
Copy link
Contributor Author

tswast commented Mar 14, 2017

Obsolete.

@tswast tswast closed this as completed Mar 14, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant