test(ci services): add test for travis

This commit is contained in:
Nightapes
2019-07-16 20:26:57 +02:00
parent 13afcea8a0
commit c86ad684c6
5 changed files with 95 additions and 5 deletions

View File

@@ -12,7 +12,7 @@ type Git struct {
}
//Detect if on Git
func (t Git) Detect() (*ProviderConfig, error) {
func (t Git) detect() (*ProviderConfig, error) {
if _, exists := os.LookupEnv("CI"); !exists {
return nil, fmt.Errorf("running not git only")