Remove lingering references to Travis CI (#1195)

This commit is contained in:
Natalie Weizenbaum 2021-01-11 15:02:36 -08:00 committed by GitHub
parent 66cb55c76f
commit ae967c7e6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 10 additions and 15 deletions

5
.gitignore vendored
View File

@ -12,8 +12,3 @@ pubspec.lock
package-lock.json
/benchmark/source
node_modules/
# These are downloaded as part of Travis builds, so we need to gitignore them to
# make sure they aren't deployed when we "pub lish".
/dart-sdk
/dart.zip

View File

@ -72,7 +72,7 @@ Before you send a pull request, we recommend you run the following steps:
can also just check that there aren't any warnings in there.
* `pub run test -x node` will run the tests for the Dart VM API. These are a
good sanity check, but they aren't comprehensive; Travis CI will also run
good sanity check, but they aren't comprehensive; GitHub Actions will also run
Node.js API tests and Sass language tests, all of which must pass before your
pull request is merged. See [Changing the Language](#changing-the-language)
and [Changing the Node API](#changing-the-node-api) for more details.

View File

@ -11,7 +11,7 @@ A [Dart][dart] implementation of [Sass][sass]. **Sass makes CSS fun again**.
<td valign="middle">
<a href="https://pub.dartlang.org/packages/sass"><img alt="Pub version" src="https://img.shields.io/pub/v/sass.svg"></a>
<br>
<a href="https://travis-ci.com/github/sass/dart-sass"><img alt="Travis build status" src="https://travis-ci.com/sass/dart-sass.svg?branch=master"></a>
<a href="https://github.com/sass/dart-sass/actions"><img alt="GitHub actions build status" src="https://github.com/sass/dart-sass/workflows/CI/badge.svg"></a>
</td>
<td>
<a href="https://twitter.com/SassCSS"><img alt="@SassCSS on Twitter" src="https://img.shields.io/twitter/follow/SassCSS?label=%40SassCSS&style=social"></a>

View File

@ -9,7 +9,7 @@ A pure JavaScript implementation of [Sass][sass]. **Sass makes CSS fun again**.
<a href="https://www.npmjs.com/package/sass"><img width="100%" alt="npm statistics" src="https://nodei.co/npm/sass.png?downloads=true"></a>
</td>
<td valign="middle">
<a href="https://travis-ci.org/sass/dart-sass"><img alt="Travis build status" src="https://api.travis-ci.org/sass/dart-sass.svg?branch=master"></a>
<a href="https://github.com/sass/dart-sass/actions"><img alt="GitHub actions build status" src="https://github.com/sass/dart-sass/workflows/CI/badge.svg"></a>
<br>
<a href="https://ci.appveyor.com/project/nex3/dart-sass"><img alt="Appveyor build status" src="https://ci.appveyor.com/api/projects/status/84rl9hvu8uoecgef?svg=true"></a>
</td>

View File

@ -3,9 +3,10 @@
# license that can be found in the LICENSE file or at
# https://opensource.org/licenses/MIT.
# Echoes the sass-spec Git ref that should be checked out for the current Travis
# run. If we're running specs for a pull request which refers to a sass-spec
# pull request, we'll run against the latter rather than sass-spec master.
# Echoes the sass-spec Git ref that should be checked out for the current GitHub
# Actions run. If we're running specs for a pull request which refers to a
# sass-spec pull request, we'll run against the latter rather than sass-spec
# master.
GITHUB_REF=${PR_REF:-$CURRENT_REF}
if [[ "$GITHUB_REF" == refs/heads/feature.* ]]; then

View File

@ -13,10 +13,9 @@ import 'utils.dart';
@Task('Verify that the package is in a good state to release.')
void sanityCheckBeforeRelease() {
var travisTag = environment("TRAVIS_TAG");
if (travisTag != pkg.version.toString()) {
fail("TRAVIS_TAG $travisTag is different than pubspec version "
"${pkg.version}.");
var ref = environment("GITHUB_REF");
if (ref != pkg.version.toString()) {
fail("GITHUB_REF $ref is different than pubspec version ${pkg.version}.");
}
if (listEquals(pkg.version.preRelease, ["dev"])) {