Skip to content

Commit 92f037e

Browse files
committed
Merge pull request #557 from drcapulet/alexc-fix-forked-ci
Fix CI for forked repos
2 parents 545f606 + e3e6752 commit 92f037e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ before_install:
2121
# their absolute GitHub path, e.g. github.com/cloudflare/crypto/pkcs11key.
2222
# That means, by default, if someone forks the repo and makes changes across
2323
# multiple packages within CFSSL, Travis won't pass for the branch on their
24-
# own repo. To fix that, we add a symlink.
24+
# own repo. To fix that, we move the directory
2525
- mkdir -p $TRAVIS_BUILD_DIR $GOPATH/src/github.com/cloudflare
26-
- test ! -d $GOPATH/src/github.com/cloudflare/cfssl && ln -s $TRAVIS_BUILD_DIR $GOPATH/src/github.com/cloudflare/cfssl || true
26+
- test ! -d $GOPATH/src/github.com/cloudflare/cfssl && mv $TRAVIS_BUILD_DIR $GOPATH/src/github.com/cloudflare/cfssl || true
2727

2828
# Only build pull requests, pushes to the master branch, and branches
2929
# starting with `test-`. This is a convenient way to push branches to

0 commit comments

Comments
 (0)