Skip to content

Commit

Permalink
ci: remove dead jenkins code
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
  • Loading branch information
Lars Gierth authored and whyrusleeping committed Jan 1, 2016
1 parent 65785e0 commit 711b95e
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 711b95e

Please sign in to comment.