github.com/Azure/draft@v0.16.0/.circleci/config.yml (about) 1 version: 2 2 jobs: 3 build: 4 working_directory: /go/src/github.com/Azure/draft 5 docker: 6 - image: golang:1.9 7 environment: 8 AZURE_CONTAINER: "draft" 9 AZURE_STORAGE_ACCOUNT: "azuredraft" 10 DOCKER_USERNAME: "bacongobbler" 11 steps: 12 - checkout 13 - run: echo 'export PATH=/go/src/github.com/Azure/draft/bin:$PATH' >> $BASH_ENV 14 - run: 15 name: install dependencies 16 command: .circleci/bootstrap.sh 17 - save_cache: 18 key: vendor-{{ checksum "Gopkg.toml" }}-{{ checksum "Gopkg.lock" }} 19 paths: 20 - vendor 21 - run: 22 name: Build 23 command: .circleci/build.sh 24 - run: 25 name: Test 26 command: .circleci/test.sh 27 - run: 28 name: Deploy to Azure 29 command: .circleci/deploy-azure.sh 30 workflows: 31 version: 2 32 build: 33 jobs: 34 - build: 35 filters: 36 tags: 37 only: /.*/