2019-08-26 06:26:37 +00:00
|
|
|
language: go
|
|
|
|
|
2019-04-18 15:10:03 +00:00
|
|
|
services:
|
2019-08-25 14:59:12 +00:00
|
|
|
- docker
|
2019-04-18 15:10:03 +00:00
|
|
|
|
2019-08-25 15:05:52 +00:00
|
|
|
jobs:
|
|
|
|
include:
|
2020-01-20 20:55:41 +00:00
|
|
|
- name: build-darwin-386
|
|
|
|
stage: build
|
|
|
|
script: make container-run/bin/darwin/386/flucky
|
|
|
|
|
|
|
|
- name: build-darwin-amd64
|
|
|
|
stage: build
|
|
|
|
script: make container-run/bin/darwin/amd64/flucky
|
|
|
|
|
|
|
|
- name: build-freebsd-amd64
|
|
|
|
stage: build
|
|
|
|
script: make container-run/bin/freebsd/amd64/flucky
|
|
|
|
|
|
|
|
- name: build-linux-386
|
|
|
|
stage: build
|
|
|
|
script: make container-run/bin/linux/386/flucky
|
|
|
|
|
|
|
|
- name: build-linux-amd64
|
|
|
|
stage: build
|
|
|
|
script: make container-run/bin/linux/amd64/flucky
|
|
|
|
|
|
|
|
- name: build-linux-arm5
|
|
|
|
stage: build
|
|
|
|
script: make container-run/bin/linux/arm/5/flucky
|
|
|
|
|
|
|
|
- name: build-linux-arm7
|
|
|
|
stage: build
|
|
|
|
script: make container-run/bin/linux/arm/7/flucky
|
|
|
|
|
|
|
|
- name: test-linux-amd64
|
|
|
|
stage: test
|
2020-01-19 14:15:00 +00:00
|
|
|
script: make container-run/test/unit
|
|
|
|
after_script: bash <(curl -s https://codecov.io/bash)
|
2020-01-20 20:55:41 +00:00
|
|
|
|
|
|
|
- name: deploy-container-amd64
|
|
|
|
stage: deploy
|
|
|
|
script: make container-image/push/amd64
|
|
|
|
|
2019-08-26 06:26:37 +00:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
on_success: change
|
|
|
|
on_failure: change
|