Skip to content

Commit

Permalink
Add first steps with circle ci
Browse files Browse the repository at this point in the history
Signed-off-by: solidnerd <[email protected]>
  • Loading branch information
solidnerd committed Oct 4, 2018
1 parent 4ca1420 commit 291ba7d
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
version: 2
jobs:
build:
working_directory: /go/src/github.com/solidnerd/gogpat
docker:
- image: circleci/golang:1.10
steps:
- checkout
- restore_cache:
keys:
- v1-pkg-cache
- run:
name: Install Compose
command: 'curl -L https://github.com/docker/compose/releases/download/1.18.0/docker-compose-`uname -s`-`uname -m` > docker-compose'
- run: chmod +x docker-compose
- run: 'sudo mv docker-compose /usr/local/bin'
- run: make ci
- save_cache:
key: v1-pkg-cache
paths:
- ~/.cache/go-build

workflows:
version: 2
build-and-deploy:
jobs:
- build

0 comments on commit 291ba7d

Please sign in to comment.