diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..1ae6c04 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,25 @@ +kind: pipeline +type: docker +name: amd64 + +steps: +- name: build-linux-amd64 + image: docker.io/volkerraschek/build-image:latest + commands: + - make bin/linux/amd64/flucky + when: + event: + - push + - pull_request + - tag + +steps: +- name: test-unit + image: docker.io/volkerraschek/build-image:latest + commands: + - make test/unit + when: + event: + - push + - pull_request + - tag \ No newline at end of file diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index d2e6a2a..0000000 --- a/.travis.yml +++ /dev/null @@ -1,36 +0,0 @@ -language: go - -services: -- docker - -jobs: - include: - - - 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 - script: make container-run/test/unit - after_script: bash <(curl -s https://codecov.io/bash) - - - name: deploy-container-amd64 - stage: deploy - script: make container-image/push/amd64 - branches: - only: - - master - -notifications: - email: - on_success: change - on_failure: change \ No newline at end of file diff --git a/README.md b/README.md index 7617ec7..6ae4ef3 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,6 @@ # flucky -[![Build Status](https://travis-ci.com/volker-raschek/flucky.svg?branch=master)](https://travis-ci.com/volker-raschek/flucky) -[![codecov](https://codecov.io/gh/volker-raschek/flucky/branch/master/graph/badge.svg)](https://codecov.io/gh/volker-raschek/flucky) -[![Go Report Card](https://goreportcard.com/badge/github.com/volker-raschek/flucky)](https://goreportcard.com/report/github.com/volker-raschek/flucky) -[![GoDoc Reference](https://godoc.org/github.com/volker-raschek/flucky?status.svg)](http://godoc.org/github.com/volker-raschek/flucky) +[![Build Status](https://drone.cryptic.systems/api/badges/volker.raschek/flucky/status.svg)](https://drone.cryptic.systems/volker.raschek/flucky) [![Docker Pulls](https://img.shields.io/docker/pulls/volkerraschek/flucky)](https://hub.docker.com/r/volkerraschek/flucky) Flucky is a lightweight program written in go for reading data from sensors, for