1
0
mirror of https://github.com/mxpv/podsync.git synced 2024-05-11 05:55:04 +00:00

Fix CodeBuild

This commit is contained in:
Maksym Pavlenko
2019-01-07 20:15:17 -08:00
parent 8805dbf85c
commit 514af6af30
2 changed files with 8 additions and 2 deletions

View File

@@ -1,6 +1,8 @@
version: 0.2
env:
variables:
GO111MODULE: on
parameter-store:
YOUTUBE_TEST_API_KEY: "/CodeBuild/youtubeKey"
VIMEO_TEST_API_KEY: "/CodeBuild/vimeoKey"
@@ -8,10 +10,10 @@ env:
phases:
install:
commands:
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.12.5
- go version
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b /usr/local/bin v1.12.5
- golangci-lint --version
build:
commands:
- go version
- go test -short ./...
- golangci-lint run

View File

@@ -9,6 +9,10 @@ import (
)
func TestPostgres_UpdateLastAccess(t *testing.T) {
if testing.Short() {
t.Skip("Skipping storage test in short mode")
}
stor := createPG(t)
defer func() { _ = stor.Close() }()