summaryrefslogtreecommitdiff
path: root/.circleci/config.yml
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2017-12-20 01:03:03 -0700
committerGitHub <noreply@github.com>2017-12-20 01:03:03 -0700
commit4813ff8e0a25cb8ebc30c9cf5c6393e2726dbcd4 (patch)
tree3b06ef2d78fc16306e10bed24904a09d8d736787 /.circleci/config.yml
parent1124d6ae8bc11367a1b483f0dc64a0d2b8e11847 (diff)
[testing] setting up CI (#210)
* add circle.yml * docker: update go version to 1.9 * add comments and organize steps * temporarily remove go test step * add ponzu install step * add generate, build, run and test
Diffstat (limited to '.circleci/config.yml')
-rw-r--r--.circleci/config.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
new file mode 100644
index 0000000..0def778
--- /dev/null
+++ b/.circleci/config.yml
@@ -0,0 +1,15 @@
+version: 2
+jobs:
+ build:
+ docker:
+ - image: circleci/golang:1.9
+
+ steps:
+ - checkout
+
+ # generate and build project to test
+ - run: curl https://raw.githubusercontent.com/ponzu-cms/ponzu/ponzu-dev/.circleci/test-setup.sh | sh
+
+ # run tests
+ - run: curl https://raw.githubusercontent.com/ponzu-cms/ponzu/ponzu-dev/.circleci/test-run.sh | sh
+