Skip to content

Commit 291ba7d

Browse files
committed
Add first steps with circle ci
Signed-off-by: solidnerd <[email protected]>
1 parent 4ca1420 commit 291ba7d

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.circleci/config.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
version: 2
2+
jobs:
3+
build:
4+
working_directory: /go/src/github.com/solidnerd/gogpat
5+
docker:
6+
- image: circleci/golang:1.10
7+
steps:
8+
- checkout
9+
- restore_cache:
10+
keys:
11+
- v1-pkg-cache
12+
- run:
13+
name: Install Compose
14+
command: 'curl -L https://github.com/docker/compose/releases/download/1.18.0/docker-compose-`uname -s`-`uname -m` > docker-compose'
15+
- run: chmod +x docker-compose
16+
- run: 'sudo mv docker-compose /usr/local/bin'
17+
- run: make ci
18+
- save_cache:
19+
key: v1-pkg-cache
20+
paths:
21+
- ~/.cache/go-build
22+
23+
workflows:
24+
version: 2
25+
build-and-deploy:
26+
jobs:
27+
- build

0 commit comments

Comments
 (0)