feat: switch to drone 1.0 (#399)

fix #397
This commit is contained in:
Bo-Yi Wu
2019-03-16 11:37:01 +08:00
committed by GitHub
parent 5321ed4575
commit 3f223cf6c0
25 changed files with 1104 additions and 697 deletions

View File

@@ -203,11 +203,6 @@ func TestLoadConfigFromEnv(t *testing.T) {
assert.Equal(t, "/healthz", ConfGorush.API.HealthURI)
}
func TestLoadWrongYAMLConfig(t *testing.T) {
_, err := LoadConf("testdata/wrong.yml")
assert.Error(t, err)
}
func TestLoadWrongDefaultYAMLConfig(t *testing.T) {
defaultConf = []byte(`a`)
_, err := LoadConf("")