From f458524feb6d848d00dce2227fe9da8da21789c4 Mon Sep 17 00:00:00 2001 From: andig Date: Mon, 23 Nov 2020 21:57:43 +0100 Subject: [PATCH] Remove TravisCI - will miss you! --- .travis.yml | 60 ----------------------------------------------------- README.md | 2 +- 2 files changed, 1 insertion(+), 61 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 8bae8384a..000000000 --- a/.travis.yml +++ /dev/null @@ -1,60 +0,0 @@ -language: go -go: "1.15" -go_import_path: github.com/andig/evcc - -cache: - directories: - - $HOME/.cache/go-build - - $HOME/gopath/pkg/mod - - $HOME/gopath/pkg/src - -notifications: - email: - on_success: never - on_failure: change - -env: - global: - - PATH=$HOME/gopath/bin:$PATH - -before_install: -# Install linters and misspell -- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b $GOPATH/bin -- golangci-lint --version -- make install - -script: -# build -- make -- go mod tidy -# ensure all changes are committed; currently disabled using -- test -z "$(git status --porcelain)" || (git status; git diff; true) - -before_deploy: -- curl -sfL https://raw.githubusercontent.com/ldez/seihon/master/godownloader.sh | bash -s -- -b $GOPATH/bin -- seihon --version -- | - if ! [ "$BEFORE_DEPLOY_RUN" ]; then - export BEFORE_DEPLOY_RUN=1; - docker login -u $DOCKER_USER -p $DOCKER_PASS - fi - -deploy: -- provider: script - skip_cleanup: true - script: curl -sL https://git.io/goreleaser | bash - on: - tags: true -- provider: script - skip_cleanup: true - script: make publish-images - on: - branch: master - tags: true -# always publish latest image -- provider: script - skip_cleanup: true - script: make publish-latest - on: - branch: master - tags: false diff --git a/README.md b/README.md index 2462ff41f..081ade1b9 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ # evcc -[![Build Status](https://travis-ci.com/andig/evcc.svg?branch=master)](https://travis-ci.com/andig/evcc) +[![Build Status](https://github.com/andig/evcc/workflows/Build/badge.svg)](https://github.com/andig/evcc/actions?query=workflow%3ABuild) [![Code Quality](https://goreportcard.com/badge/github.com/andig/evcc)](https://goreportcard.com/report/github.com/andig/evcc) [![Latest Version](https://img.shields.io/github/tag/andig/evcc.svg)](https://github.com/andig/evcc/releases) [![Pulls from Docker Hub](https://img.shields.io/docker/pulls/andig/evcc.svg)](https://hub.docker.com/r/andig/evcc)