Skip to content

Commit

Permalink
remove Travis package (#57)
Browse files Browse the repository at this point in the history
We've moved away from Travis a long time ago.
  • Loading branch information
marten-seemann authored Apr 25, 2022
1 parent a2b49ba commit 77f5b5d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 79 deletions.
11 changes: 2 additions & 9 deletions ci/ci.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ package ci

import (
"os"

travis "github.com/libp2p/go-libp2p-testing/ci/travis"
)

// EnvVar is a type to use travis-only env var names with
Expand All @@ -20,14 +18,9 @@ const (
VarVerbose EnvVar = "TEST_VERBOSE"
)

// IsRunning attempts to determine whether this process is
// running on CI. This is done by checking any of:
//
// CI=true
// travis.IsRunning()
//
// IsRunning attempts to determine whether this process is running on CI.
func IsRunning() bool {
return os.Getenv(string(VarCI)) == "true" || travis.IsRunning()
return os.Getenv(string(VarCI)) == "true"
}

// Env returns the value of a CI env variable.
Expand Down
57 changes: 0 additions & 57 deletions ci/travis/travis.go

This file was deleted.

13 changes: 0 additions & 13 deletions ci/travis/travis_test.go

This file was deleted.

0 comments on commit 77f5b5d

Please sign in to comment.