Remove TravisCI - will miss you!
Some checks failed
Build / Build (push) Failing after 3m5s

This commit is contained in:
andig 2020-11-23 21:57:43 +01:00
parent 82addda871
commit f458524feb
2 changed files with 1 additions and 61 deletions

View file

@ -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 <true>
- 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

View file

@ -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)