Skip to content

Commit

Permalink
Circle ci tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
jonog committed Mar 15, 2017
1 parent 1d6ad2b commit 196c64f
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,23 @@
machine:
services:
- docker

environment:
DOCKER_API_VERSION: "1.20"
POSTGRES_IMAGE: "postgres:9.5"

IMPORT_PATH: "/home/ubuntu/.go_workspace/src/github.com/jonog"
APP_PATH: "$IMPORT_PATH/redalert"
dependencies:
override:
- sudo add-apt-repository ppa:masterminds/glide -y
- sudo apt-get update
- sudo apt-get install glide -y
pre:
- docker pull sickp/alpine-sshd
- docker pull postgres:9.5
test:
pre:
- mkdir -p "$IMPORT_PATH"
- ln -sf "$(pwd)" "$APP_PATH"
- cd "$APP_PATH" && glide install
override:
- cd "$APP_PATH" && go test -cover $(glide nv)

0 comments on commit 196c64f

Please sign in to comment.