diff options
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 + |