Merge master into resover-refactor

This commit is contained in:
Ben Toogood
2020-04-09 12:42:34 +01:00
19 changed files with 140 additions and 63 deletions

View File

@@ -18,7 +18,7 @@ import (
func TestCertMagic(t *testing.T) {
if len(os.Getenv("IN_TRAVIS_CI")) != 0 {
t.Skip("Travis doesn't let us bind :443")
t.Skip()
}
l, err := NewProvider().Listen()
if err != nil {
@@ -52,6 +52,10 @@ func TestCertMagic(t *testing.T) {
}
func TestStorageImplementation(t *testing.T) {
if len(os.Getenv("IN_TRAVIS_CI")) != 0 {
t.Skip()
}
apiToken, accountID := os.Getenv("CF_API_TOKEN"), os.Getenv("CF_ACCOUNT_ID")
kvID := os.Getenv("KV_NAMESPACE_ID")
if len(apiToken) == 0 || len(accountID) == 0 || len(kvID) == 0 {
@@ -189,6 +193,10 @@ func TestStorageImplementation(t *testing.T) {
// Full test with a real zone, with against LE staging
func TestE2e(t *testing.T) {
if len(os.Getenv("IN_TRAVIS_CI")) != 0 {
t.Skip()
}
apiToken, accountID := os.Getenv("CF_API_TOKEN"), os.Getenv("CF_ACCOUNT_ID")
kvID := os.Getenv("KV_NAMESPACE_ID")
if len(apiToken) == 0 || len(accountID) == 0 || len(kvID) == 0 {