chore: removes travis.yml

This commit is contained in:
Manuel Vogel 2020-11-11 09:57:04 +01:00
parent aa8f98be87
commit fd8eed9c13
No known key found for this signature in database
GPG key ID: 24E54F214569A8A5

View file

@ -1,110 +0,0 @@
language: go
install:
# This script is used by the Travis build to install a cookie for
# go.googlesource.com so rate limits are higher when using `go get` to fetch
# packages that live there.
# See: https://github.com/golang/go/issues/12933
- bash scripts/gogetcookie.sh
env:
- GOPROXY=https://gocenter.io,https://proxy.golang.org,direct
branches:
only:
- master
matrix:
fast_finish: true
allow_failures:
- go: tip
- os: osx
- os: windows
include:
####################################
# Acceptance tests
####################################
- os: linux
name: "Acceptance tests"
dist: bionic
go: "1.15.x"
services:
- docker
sudo: required
before_install:
# locally: docker run -it ubuntu:bionic bash (https://ubuntu.pkgs.org/18.04/docker-ce-stable-amd64/)
- sudo apt-get update
- sudo apt-get -y install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
- sudo apt-get update
# apt-cache policy docker-ce
- sudo apt-get -y install docker-ce=5:19.03.5~3-0~ubuntu-bionic
- docker version
# Allow local registry to be insecure
- sudo sed 's/DOCKER_OPTS="/DOCKER_OPTS="--insecure-registry=127.0.0.1:15000 /g' -i /etc/default/docker
- sudo cat /etc/default/docker
- sudo service docker restart
script:
- make testacc
# https://golang.org/doc/devel/release.html#policy
- os: linux
name: "Build (golang current amd64)"
dist: bionic
go: "1.15.x"
script:
- make compile
- os: linux
name: "Build (golang previous amd64)"
dist: bionic
go: "1.14.x"
script:
- make compile
####################################
# Unit, vet, website, etc
####################################
- os: linux
name: "Unit-tests, vet, and website"
dist: bionic
go: "1.15.x"
script:
- make vet
- make test
- make website-test
####################################
# Windows and Mac
####################################
- os: osx
name: "Build (golang current)"
go: "1.15.x"
script:
- XC_OS=darwin make compile
# XXX it doesn't seem possible right now to run linux containers on windows
# see: https://travis-ci.community/t/docker-linux-containers-on-windows/301
# --platform does not work, apparently missing experimental features being enabled for dockerd in the host
- os: windows
name: "Build (golang current)"
# name: "Acceptance tests"
go: "1.15.x"
# services:
# - docker
script:
- go install
# - scripts/runAccTests.bat
####################################
# Go tip
####################################
- os: linux
name: "Build (golang future amd64)"
dist: bionic
go: tip
script:
- make compile