Files
virtual-kubelet/.circleci/config.yml
2017-12-05 17:53:58 -06:00

25 lines
662 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:
name: Build and deploy connector
command: sh scripts/envCreation.sh
- run: |
echo 'export AZURE_AUTH_LOCATION=${outputPathCredsfile}' >> $BASH_ENV
- run:
name: Dependencies
command: go get -v -t -d ./...
- run:
name: Tests
command: go test -v ./...