all: update stale refs to Travis (#312)

This commit is contained in:
Robert van Gent
2021-08-30 16:16:39 -07:00
committed by GitHub
parent 737d4615ed
commit ae4e74aa6b
4 changed files with 7 additions and 10 deletions

View File

@@ -78,11 +78,11 @@ again. If you are submitting code on behalf of your employer, there's
a single commit before merging your change. a single commit before merging your change.
* Check the diffs, write a useful description (including something like * Check the diffs, write a useful description (including something like
`Fixes #123` if it's fixing a bug) and send the PR out. `Fixes #123` if it's fixing a bug) and send the PR out.
* [Travis CI](http://travis-ci.com) will run tests against the PR. This should * Github will run tests against the PR. This should
happen within 10 minutes or so. If a test fails, go back to the coding stage happen within 10 minutes or so. If a test fails, go back to the coding stage
and try to fix the test and push the same branch again. You won't need to and try to fix the test and push the same branch again. You won't need to
make a new pull request, the changes will be rolled directly into the PR you make a new pull request, the changes will be rolled directly into the PR you
already opened. Wait for Travis again. There is no need to assign a reviewer already opened. Wait for the tests again. There is no need to assign a reviewer
to the PR, the project team will assign someone for review during the to the PR, the project team will assign someone for review during the
standard [triage](#triaging) process. standard [triage](#triaging) process.

View File

@@ -1,6 +1,6 @@
# Wire: Automated Initialization in Go # Wire: Automated Initialization in Go
[![Build Status](https://travis-ci.com/google/wire.svg?branch=master)][travis] [![Build Status](https://github.com/github/google/wire/workflows/tests.yml/badge.svg?branch=main)
[![godoc](https://godoc.org/github.com/google/wire?status.svg)][godoc] [![godoc](https://godoc.org/github.com/google/wire?status.svg)][godoc]
[![Coverage](https://codecov.io/gh/google/wire/branch/master/graph/badge.svg)](https://codecov.io/gh/google/wire) [![Coverage](https://codecov.io/gh/google/wire/branch/master/graph/badge.svg)](https://codecov.io/gh/google/wire)

View File

@@ -21,14 +21,11 @@
# This script expects: # This script expects:
# a) to be run at the root of the repository # a) to be run at the root of the repository
# b) HEAD is pointing to a commit that merges between the pull request and the # b) HEAD is pointing to a commit that merges between the pull request and the
# upstream branch (TRAVIS_BRANCH). This is what Travis does (see # upstream branch (GITHUB_HEAD_REF).
# https://docs.travis-ci.com/user/pull-requests/ for details), but if you
# are testing this script manually, you may need to manually create a merge
# commit.
set -euo pipefail set -euo pipefail
UPSTREAM_BRANCH="${TRAVIS_BRANCH:-master}" UPSTREAM_BRANCH="${GITHUB_HEAD_REF:-master}"
echo "Checking for incompatible API changes relative to ${UPSTREAM_BRANCH}..." echo "Checking for incompatible API changes relative to ${UPSTREAM_BRANCH}..."
MASTER_CLONE_DIR="$(mktemp -d)" MASTER_CLONE_DIR="$(mktemp -d)"

View File

@@ -20,6 +20,6 @@ set -euo pipefail
# $ internal/listdeps.sh > internal/alldeps # $ internal/listdeps.sh > internal/alldeps
# #
# Important note: there are changes in module tooling behavior between go 1.11 # Important note: there are changes in module tooling behavior between go 1.11
# and go 1.12; please make sure to use the same version of Go as used by Travis # and go 1.12; please make sure to use the same version of Go as used by Github
# (see .travis.yml) when updating the alldeps file. # Actions (see .github/workflows/tests.yml) when updating the alldeps file.
go list -deps -f '{{with .Module}}{{.Path}}{{end}}' ./... | sort | uniq go list -deps -f '{{with .Module}}{{.Path}}{{end}}' ./... | sort | uniq