Closed jonlawlor closed 8 years ago
I guess this didn't need other cleanup and ignoring the .travis directory was unnecessary. PTAL @kortschak
The git complaint is less of a concern for me, though I guess it's nice. What I don't like is that go generate can fail and travis seems not to care.
Locally, I see this:
$ go generate
generate_blas.go:23:2: cannot find package "github.com/gonum/internal/binding" in any of:
/home/daniel/Development/go/src/github.com/gonum/internal/binding (from $GOROOT)
/home/daniel/Development/src/github.com/gonum/internal/binding (from $GOPATH)
doc.go:5: running "go": exit status 1
$ echo $?
1
So we should be checking the success of the go generate invocations.
Oh, right, I figured it had to do with the git diff. set -ex
should fix it.
Thanks
LGTM
Looks like the :!.travis exclusion rule is not implemented in the version of git that travis is using.
This pull will also have to make changes to the CI process so that the directory is actually unchanged, instead of just ignored.