mirror of
https://github.com/jesseduffield/lazygit.git
synced 2024-11-30 09:16:47 +02:00
48 lines
1.0 KiB
YAML
48 lines
1.0 KiB
YAML
version: 2
|
|
jobs:
|
|
build:
|
|
docker:
|
|
- image: circleci/golang:1.10
|
|
|
|
working_directory: /go/src/github.com/jesseduffield/lazygit
|
|
steps:
|
|
- checkout
|
|
- run:
|
|
name: Run tests
|
|
command: |
|
|
./test.sh
|
|
- run:
|
|
name: Compile project on every platform
|
|
command: |
|
|
go get github.com/mitchellh/gox
|
|
gox -os "linux darwin freebsd netbsd windows"
|
|
- run:
|
|
name: Push on codecov result
|
|
command: |
|
|
bash <(curl -s https://codecov.io/bash)
|
|
|
|
release:
|
|
docker:
|
|
- image: circleci/golang:1.10
|
|
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: /.*/
|