Files
virtual-kubelet/.circleci/config.yml
2017-12-14 20:49:11 +00:00

27 lines
723 B
YAML

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