13
.github/stale.sh
vendored
Executable file
13
.github/stale.sh
vendored
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash -ex
|
||||
|
||||
export PATH=$PATH:$(pwd)/bin
|
||||
export GO111MODULE=on
|
||||
export GOBIN=$(pwd)/bin
|
||||
|
||||
#go get github.com/rvflash/goup@v0.4.1
|
||||
|
||||
#goup -v ./...
|
||||
#go get github.com/psampaz/go-mod-outdated@v0.6.0
|
||||
go list -u -m -mod=mod -json all | go-mod-outdated -update -direct -ci || true
|
||||
|
||||
#go list -u -m -json all | go-mod-outdated -update
|
@@ -47,6 +47,10 @@ func cacheCleanup(db string, s store.Store) {
|
||||
}
|
||||
|
||||
func TestStoreReInit(t *testing.T) {
|
||||
if len(os.Getenv("IN_TRAVIS_CI")) > 0 {
|
||||
t.Skip()
|
||||
}
|
||||
|
||||
tcs := []struct {
|
||||
name string
|
||||
s store.Store
|
||||
@@ -69,6 +73,10 @@ func TestStoreReInit(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestStoreBasic(t *testing.T) {
|
||||
if len(os.Getenv("IN_TRAVIS_CI")) > 0 {
|
||||
t.Skip()
|
||||
}
|
||||
|
||||
tcs := []struct {
|
||||
name string
|
||||
s store.Store
|
||||
@@ -89,6 +97,10 @@ func TestStoreBasic(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestStoreTable(t *testing.T) {
|
||||
if len(os.Getenv("IN_TRAVIS_CI")) > 0 {
|
||||
t.Skip()
|
||||
}
|
||||
|
||||
tcs := []struct {
|
||||
name string
|
||||
s store.Store
|
||||
@@ -108,6 +120,10 @@ func TestStoreTable(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestStoreDatabase(t *testing.T) {
|
||||
if len(os.Getenv("IN_TRAVIS_CI")) > 0 {
|
||||
t.Skip()
|
||||
}
|
||||
|
||||
tcs := []struct {
|
||||
name string
|
||||
s store.Store
|
||||
@@ -127,6 +143,10 @@ func TestStoreDatabase(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestStoreDatabaseTable(t *testing.T) {
|
||||
if len(os.Getenv("IN_TRAVIS_CI")) > 0 {
|
||||
t.Skip()
|
||||
}
|
||||
|
||||
tcs := []struct {
|
||||
name string
|
||||
s store.Store
|
||||
|
Reference in New Issue
Block a user