Skip to content

Commit

Permalink
feat: run integration tests in CircleCI build
Browse files Browse the repository at this point in the history
  • Loading branch information
Dara Hayes committed Feb 22, 2018
1 parent c0a094d commit 62ba301
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ jobs:
docker:
# specify the version
- image: circleci/golang:1.9

- image: postgres:9.5
ports:
- 5432:5432
environment:
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
POSTGRES_DB: aerogear_mobile_metrics

# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
Expand All @@ -23,5 +31,5 @@ jobs:
- run: go get github.com/mattn/goveralls
- run: go get -u github.com/golang/dep/cmd/dep
- run: dep ensure
- run: go test -v -coverpkg=./... ./...
- run: make test-integration
- run: /go/bin/goveralls -service=circle-ci -repotoken=$COVERALLS_TOKEN

0 comments on commit 62ba301

Please sign in to comment.