Skip to content

Commit

Permalink
Merge pull request #2 from ConvertKit/circleci
Browse files Browse the repository at this point in the history
Adding CircleCI
  • Loading branch information
pier-oliviert authored Nov 6, 2018
2 parents 5f2c5ef + aceeb52 commit df4570c
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
version: 2
jobs:
build:
docker:
- image: circleci/golang:1.11
working_directory: /go/src/github.com/convertkit/stories

environment:
TEST_RESULTS: /tmp/test-results
steps:
- checkout
- run: mkdir -p $TEST_RESULTS # create the test results directory

- restore_cache:
keys:
- v1-pkg-cache

- run:
name: Run unit tests
environment:
SCALYR_WRITE_TOKEN: "test"
command: go test -v ./...

0 comments on commit df4570c

Please sign in to comment.