diff options
-rw-r--r-- | .travis.yml | 5 | ||||
-rw-r--r-- | server/signer/signer_test.go | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index 5ca7233..f91065a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,8 @@ env: - MYSQL_TEST="true" MONGO_TEST="true" go: - - 1.7.3 + - 1.7.4 + - 1.8rc1 - tip matrix: @@ -26,7 +27,7 @@ before_script: sudo: false script: - - go build -v ./cmd/cashier ./cmd/cashierd + - go install -v ./cmd/cashier ./cmd/cashierd - go list ./... |grep -v vendor/ |xargs go test - gofmt -d $(find -type f -name '*.go' -not -path './vendor/*') - go list ./... |grep -v vendor/ |xargs go vet diff --git a/server/signer/signer_test.go b/server/signer/signer_test.go index cdfb4ca..baf00e5 100644 --- a/server/signer/signer_test.go +++ b/server/signer/signer_test.go @@ -48,7 +48,7 @@ func TestCert(t *testing.T) { t.Error("Cert key doesn't match public key") } if cert.ValidBefore != uint64(r.ValidUntil.Unix()) { - t.Errorf("Invalid validity, expected %d, got %d", r.ValidUntil, cert.ValidBefore) + t.Errorf("Invalid validity, expected %d, got %d", r.ValidUntil.Unix(), cert.ValidBefore) } } |