Skip to content

Commit

Permalink
Remove lingering references to Travis CI (#1195)
Browse files Browse the repository at this point in the history
  • Loading branch information
nex3 authored Jan 11, 2021
1 parent 66cb55c commit ae967c7
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 15 deletions.
5 changes: 0 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion package/README.npm.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
7 changes: 4 additions & 3 deletions tool/github-action/sass-spec-ref.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 3 additions & 4 deletions tool/grind/sanity_check.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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"])) {
Expand Down

0 comments on commit ae967c7

Please sign in to comment.