summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2018-08-16 22:07:02 +1000
committerJesse Duffield <jessedduffield@gmail.com>2018-08-16 22:07:02 +1000
commit8b57b21d79415c653cb5bbcdc11c43d50f41dbad (patch)
tree766cda049acf6feb73842e162cccc82e22711776
parent563efc41c749af43b4aba5286fd5b5d2e4a51c7a (diff)
add circle ci config
-rw-r--r--.circleci/config.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
new file mode 100644
index 000000000..cc81391f5
--- /dev/null
+++ b/.circleci/config.yml
@@ -0,0 +1,26 @@
+# Golang CircleCI 2.0 configuration file
+#
+# Check https://circleci.com/docs/2.0/language-go/ for more details
+version: 2
+jobs:
+ build:
+ docker:
+ # specify the version
+ - image: circleci/golang:1.9
+
+ # Specify service dependencies here if necessary
+ # CircleCI maintains a library of pre-built images
+ # documented at https://circleci.com/docs/2.0/circleci-images/
+ # - image: circleci/postgres:9.4
+
+ #### TEMPLATE_NOTE: go expects specific checkout path representing url
+ #### expecting it in the form of
+ #### /go/src/github.com/circleci/go-tool
+ #### /go/src/bitbucket.org/circleci/go-tool
+ working_directory: /go/src/github.com/jesseduffield/lazygit
+ steps:
+ - checkout
+
+ # specify any bash command here prefixed with `run: `
+ - run: go get -v -t -d ./...
+ - run: go test -v ./...