diff options
author | Steve Manuel <nilslice@gmail.com> | 2018-01-03 14:48:07 -0700 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2018-01-03 14:48:07 -0700 |
commit | 7b4ce4d9df4768c9bc21dabe988d1287314b9449 (patch) | |
tree | 0c4194e161f91e82b4008d1b929f2b071ac300af /.circleci/test-setup.sh | |
parent | 8355dce9d7c319ea471b46116962659e5bb0462d (diff) | |
parent | 188c1350b123d570bb55f348b19f583ef0e6f4b1 (diff) |
Merge branch 'master' of https://github.com/ponzu-cms/ponzu into ponzu-dev
Diffstat (limited to '.circleci/test-setup.sh')
-rwxr-xr-x | .circleci/test-setup.sh | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.circleci/test-setup.sh b/.circleci/test-setup.sh new file mode 100755 index 0000000..76085e3 --- /dev/null +++ b/.circleci/test-setup.sh @@ -0,0 +1,26 @@ +#!/bin/bash + +# Set up test environment + +set -ex + +# Install Ponzu CMS +go get -u github.com/ponzu-cms/ponzu/... + + +# test install +ponzu + + +# create a project and generate code +ponzu new github.com/ponzu-cms/ci/test-project + +cd /go/src/github.com/ponzu-cms/ci/test-project + +ponzu gen content person name:string hashed_secret:string +ponzu gen content message from:@person,hashed_secret to:@person,hashed_secret + + +# build and run dev http/2 server with TLS +ponzu build + |