Remove references to travis (#349)
Remove `travis_report_failure.sh,` it is unreferenced and if we enable
failure reports on github actions we won't use a separate script.
Rename `travis.sh` to `test_and_collect.sh` to describe the behavior
instead of the use case.
Fixup the changelog. `1.0.4` was not published and will not be
published, so merge the changelog in with `1.1.0`. Append a `-dev` while
we are in between published states.
diff --git a/.github/workflows/test-package.yml b/.github/workflows/test-package.yml
index 2606b39..4a3b23d 100644
--- a/.github/workflows/test-package.yml
+++ b/.github/workflows/test-package.yml
@@ -72,7 +72,7 @@
name: Install dependencies
run: dart pub get
- name: Collect and report coverage
- run: ./tool/travis.sh
+ run: ./tool/test_and_collect.sh
- name: Upload coverage
uses: coverallsapp/github-action@v1.1.2
with:
diff --git a/CHANGELOG.md b/CHANGELOG.md
index cd6880b..aaf7b28 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,4 +1,4 @@
-## 1.1.0
+## 1.1.0-dev
* Support function level coverage information, when running tests in the Dart
VM. This is not supported for web tests yet.
@@ -14,9 +14,6 @@
from using `Map<int, int>` to represent line coverage to using `HitMap`
(which contains both line and function coverage). `collect` also has a new
optional bool flag controlling whether function coverage is collected.
-
-## 1.0.4 - 2021-06-08
-
* Ensure `createHitmap` returns a sorted hitmap. This fixes a potential issue with
ignore line annotations.
diff --git a/pubspec.yaml b/pubspec.yaml
index f8898ab..c5ae05d 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,5 +1,5 @@
name: coverage
-version: 1.0.4
+version: 1.1.0-dev
description: Coverage data manipulation and formatting
homepage: https://github.com/dart-lang/coverage
diff --git a/tool/travis.sh b/tool/test_and_collect.sh
similarity index 100%
rename from tool/travis.sh
rename to tool/test_and_collect.sh
diff --git a/tool/travis_failure_report.sh b/tool/travis_failure_report.sh
deleted file mode 100755
index f240c2a..0000000
--- a/tool/travis_failure_report.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/bash
-if [ "$TRAVIS_EVENT_TYPE" != "pull_request" ] && [ "$TRAVIS_ALLOW_FAILURE" != "true" ]; then
- curl -H "Content-Type: application/json" -X POST -d \
- "{'text':'Build failed! ${TRAVIS_BUILD_WEB_URL}'}" \
- "${CHAT_HOOK_URI}"
-fi