diff --git a/.travis.yml b/.travis.yml index 9462af0..f97a54d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -36,17 +36,17 @@ before_install: - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test - sudo apt-get update -qq - sudo apt-get install --yes -qq gcc - - sudo apt-get install --yes -qq libudev-dev + - sudo apt-get install --yes -qq libudev-dev conntrack before_script: # Download kubectl and setup minkube for running integration tests # Wait for minikube to be up and ready. - if [ "$TRAVIS_CPU_ARCH" == "amd64" ]; then - curl -Lo kubectl https://storage.googleapis.com/kubernetes-release/release/v1.13.0/bin/linux/amd64/kubectl && chmod +x kubectl && sudo mv kubectl /usr/local/bin/ ; - curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.35.0/minikube-linux-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/ ; + curl -Lo kubectl https://storage.googleapis.com/kubernetes-release/release/v1.18.0/bin/linux/amd64/kubectl && chmod +x kubectl && sudo mv kubectl /usr/local/bin/ ; + curl -Lo minikube https://storage.googleapis.com/minikube/releases/v1.19.0/minikube-linux-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/ ; mkdir -p $HOME/.kube $HOME/.minikube ; touch $KUBECONFIG ; - sudo minikube start --vm-driver=none --kubernetes-version=v1.13.0 ; + sudo minikube start --driver=none --kubernetes-version=v1.18.0 ; sudo chown -R travis /home/travis/.minikube/ ; JSONPATH='{range .items[*]}{@.metadata.name}:{range @.status.conditions[*]}{@.type}={@.status};{end}{end}'; until kubectl get nodes -o jsonpath="$JSONPATH" 2>&1 | grep -q "Ready=True"; do sleep 1; done ; fi