Updating travis (WIP)
@@ -3,15 +3,6 @@ go: 1.9
sudo: true # give us 7.5GB and >2 bursted cores.
env:
- CHANGE_MINIKUBE_NONE_USER=true
-before_script:
- - curl -Lo kubectl https://storage.googleapis.com/kubernetes-release/release/v1.7.0/bin/linux/amd64/kubectl && \
- chmod +x kubectl && sudo mv kubectl /usr/local/bin/
- - curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 && \
- chmod +x minikube && sudo mv minikube /usr/local/bin/
- - sudo minikube start --vm-driver=none --kubernetes-version=v1.7.0
- - minikube update-context
- - 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
before_install:
- export PULUMI_ROOT=/opt/pulumi
# Travis only fetches 50 commits by default, and we want them all so we can do git describe --tags
@@ -28,6 +19,15 @@ before_install:
- export PATH=$HOME/.yarn/bin:$PATH
# Install the AWS CLI so that we can publish the resulting release (if applicable) at the end.
- pip install --upgrade --user awscli
+
+ - curl -Lo kubectl https://storage.googleapis.com/kubernetes-release/release/v1.7.0/bin/linux/amd64/kubectl && \
+ chmod +x kubectl && sudo mv kubectl /usr/local/bin/
+ - curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 && \
+ chmod +x minikube && sudo mv minikube /usr/local/bin/
+ - sudo minikube start --vm-driver=none --kubernetes-version=v1.7.0
+ - minikube update-context
+ - 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
install:
# Clone the Pulumi repo and use install-locked.sh to install Pulumi components based on our Gopkg.lock.
- git clone git@github.com:pulumi/home ${GOPATH}/src/github.com/pulumi/home
