Skip to content

Commit

Permalink
Improved TravisCI test script
Browse files Browse the repository at this point in the history
  • Loading branch information
andyone committed Dec 24, 2015
1 parent 66893b9 commit dd26874
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .travis/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ main() {
# Create links for pkg.re import paths
#
makeLink() {
# TravicCI download last stable version of ek, but it not ok
# remove downloaded version for linking with current version for test
if [[ -d $GOPATH/src/pkg.re/essentialkaos/ek.v1 ]] ; then
rm -rf $GOPATH/src/pkg.re/essentialkaos/ek.v1
fi

mkdir -p $GOPATH/src/pkg.re/essentialkaos
ln -sf $GOPATH/src/pkg.re/essentialkaos/ek.v1 $GOPATH/src/github.com/essentialkaos/ek
}
Expand Down

0 comments on commit dd26874

Please sign in to comment.