Skip to content

Commit

Permalink
Merge pull request #2114 from ipfs/remove-jenkins
Browse files Browse the repository at this point in the history
ci: remove dead jenkins code
  • Loading branch information
whyrusleeping committed Jan 15, 2016
2 parents b182e53 + 711b95e commit f89a915
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 95 deletions.
2 changes: 1 addition & 1 deletion p2p/net/swarm/dial_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func TestDialWait(t *testing.T) {
func TestDialBackoff(t *testing.T) {
// t.Skip("skipping for another test")
if ci.IsRunning() {
t.Skip("travis and jenkins will never have fun with this test")
t.Skip("travis will never have fun with this test")
}

t.Parallel()
Expand Down
13 changes: 0 additions & 13 deletions test/jenkins/network-test.sh

This file was deleted.

8 changes: 1 addition & 7 deletions util/testutil/ci/ci.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ package ci
import (
"os"

jenkins "github.com/ipfs/go-ipfs/util/testutil/ci/jenkins"
travis "github.com/ipfs/go-ipfs/util/testutil/ci/travis"
)

Expand All @@ -26,14 +25,9 @@ const (
//
// CI=true
// travis.IsRunning()
// jenkins.IsRunning()
//
func IsRunning() bool {
if os.Getenv(string(VarCI)) == "true" {
return true
}

return travis.IsRunning() || jenkins.IsRunning()
return os.Getenv(string(VarCI)) == "true" || travis.IsRunning()
}

// Env returns the value of a CI env variable.
Expand Down
58 changes: 0 additions & 58 deletions util/testutil/ci/jenkins/jenkins.go

This file was deleted.

16 changes: 0 additions & 16 deletions util/testutil/ci/jenkins/jenkins_test.go

This file was deleted.

0 comments on commit f89a915

Please sign in to comment.