I have several go projects which run on GAE. I wish to establish CI (or at
least testing upon push to GitHub) with Travis for some these projects.
To begin with, I am trying to get Travis to execute my apps tests. To
achieve this, my .travis file looks like this:
language: go
go:
- "1.2.1"
install:
- curl -O
https://storage.googleapis.com/appengine-sdks/featured/go_appengine_sdk_linux_amd64-1.9.12.zip
&& unzip -q go_appengine_sdk_linux_amd64-1.9.12.zip
before_script: ./go_appengine/goapp get
script: ./go_appengine/goapp test
Problem is: the goapp get command returns status code 1 (which indicates
error and thus will stop the build) because some GAE packages do not
contain a "buildable go source". For example, anything that imports
package "code.google.com/p/google-api-go-client/bigquery/v2" will get this
error when you run:
goapp get
you get this message:
imports code.google.com/p/goauth2/appengine/serviceaccount: no buildable Go
source files in
/users/orcaman/src/code.google.com/p/goauth2/appengine/serviceaccount
Yet after performing the goapp get, everything basically works albeit the
error (I guess this is because the goapp executable knows how to treat
these GAE packages). so running:
goapp test
for a testing code that uses
code.google.com/p/goauth2/appengine/serviceaccount locally works perfectly.
Any ideas on how to work around this to be be able to use Travis with GAE's
Go?
Cheers,
Or
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.