version: 2 jobs: build: docker: # specify the version - image: circleci/golang:1.9 working_directory: /go/src/github.com/virtual-kubelet/virtual-kubelet steps: - checkout - run: name: Create the credentials file command: sh scripts/createCredentials.sh - run: | echo 'export AZURE_AUTH_LOCATION=${outputPathCredsfile}' >> $BASH_ENV - run: | echo 'export KUBECONFIG=${outputPathKubeConfigFile}' >> $BASH_ENV - run: name: Dependencies command: go get -v -t -d ./... - run: name: Build command: V=1 make build - run: name: Tests command: V=1 CI=1 make test