From 8470bcd71d84df26c0a1f966e30fd3f909777a59 Mon Sep 17 00:00:00 2001 From: Dawid Dziurla Date: Thu, 19 Mar 2020 12:16:25 +0100 Subject: [PATCH] Remove circleci config --- .circleci/config.yml | 62 -------------------------------------------- 1 file changed, 62 deletions(-) delete mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 5aff6284e..000000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,62 +0,0 @@ -version: 2 -jobs: - build: - docker: - - image: circleci/golang:1.14 - environment: - GO111MODULE: "on" - working_directory: /go/src/github.com/jesseduffield/lazygit - steps: - - checkout - - run: - name: Run gofmt -s - command: | - if [ $(find . ! -path "./vendor/*" -name "*.go" -exec gofmt -s -d {} \;|wc -l) -gt 0 ]; then - find . ! -path "./vendor/*" -name "*.go" -exec gofmt -s -d {} \; - exit 1; - fi - - restore_cache: - keys: - - pkg-cache-{{ checksum "go.sum" }}-v5 - - run: - name: Run tests - command: | - ./test.sh - - run: - name: Push on codecov result - command: | - bash <(curl -s https://codecov.io/bash) - - run: - name: Compile project on every platform - command: | - go get github.com/mitchellh/gox - GOFLAGS=-mod=vendor gox -parallel 10 -os "linux freebsd netbsd windows" -osarch "darwin/i386 darwin/amd64" - - save_cache: - key: pkg-cache-{{ checksum "go.sum" }}-v5 - paths: - - ~/.cache/go-build - - release: - docker: - - image: circleci/golang:1.14 - working_directory: /go/src/github.com/jesseduffield/lazygit - steps: - - checkout - - run: - name: Run gorelease - command: | - curl -sL https://git.io/goreleaser | bash - -workflows: - version: 2 - build: - jobs: - - build - release: - jobs: - - release: - filters: - tags: - only: /v[0-9]+(\.[0-9]+)*/ - branches: - ignore: /.*/