fix: replace travis with drone
This commit is contained in:
		
							
								
								
									
										25
									
								
								.drone.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								.drone.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -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 | ||||
							
								
								
									
										36
									
								
								.travis.yml
									
									
									
									
									
								
							
							
						
						
									
										36
									
								
								.travis.yml
									
									
									
									
									
								
							| @@ -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 | ||||
| @@ -1,9 +1,6 @@ | ||||
| # flucky | ||||
|  | ||||
| [](https://travis-ci.com/volker-raschek/flucky) | ||||
| [](https://codecov.io/gh/volker-raschek/flucky) | ||||
| [](https://goreportcard.com/report/github.com/volker-raschek/flucky) | ||||
| [](http://godoc.org/github.com/volker-raschek/flucky) | ||||
| [](https://drone.cryptic.systems/volker.raschek/flucky) | ||||
| [](https://hub.docker.com/r/volkerraschek/flucky) | ||||
|  | ||||
| Flucky is a lightweight program written in go for reading data from sensors, for | ||||
|   | ||||
		Reference in New Issue
	
	Block a user