Skip to content

Commit

Permalink
Merge pull request #142 from slintes/remove-travis
Browse files Browse the repository at this point in the history
Removed Travis config
  • Loading branch information
slintes authored Dec 8, 2020
2 parents f99a72e + 0c09e1a commit 7f00e3f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 50 deletions.
41 changes: 0 additions & 41 deletions .travis.yml

This file was deleted.

10 changes: 1 addition & 9 deletions automation/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ echo "Setup Go paths"
cd ..
export GOROOT=/usr/local/go
export GOPATH=$(pwd)/go
export GIMME_GO_VERSION=1.13.5
export PATH=$GOPATH/bin:$GOROOT/bin:$PATH
mkdir -p $GOPATH

Expand All @@ -12,15 +13,6 @@ mkdir -p $GOPATH/src/kubevirt.io
mkdir -p $GOPATH/pkg
ln -s $(pwd)/node-maintenance-operator $GOPATH/src/kubevirt.io/

pushd $GOPATH/src/kubevirt.io/node-maintenance-operator
GO_VERSION=$(yq r .travis.yml go) || true
if [[ $GO_VERSION == "" ]]; then
GO_VERSION=$(grep go: .travis.yml | awk '{ print $2 }' | sed -e 's/"\([^"]*\)"$/\1/')
fi
popd

echo "install go version speciifed in travis: ${GO_VERSION}"
export GIMME_GO_VERSION=${GO_VERSION}
mkdir -p /gimme
curl -sL https://raw.githubusercontent.com/travis-ci/gimme/master/gimme | HOME=/gimme bash >> /etc/profile.d/gimme.sh
source /etc/profile.d/gimme.sh
Expand Down

0 comments on commit 7f00e3f

Please sign in to comment.