Skip to content

Commit baa7864

Browse files
authored
Fix travis validation of pkg:angular (#1952)
* Only run mac on one configuration It's by far the slowest to run – a sniff test should be sufficient
1 parent a9f084b commit baa7864

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.travis.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,14 @@ env:
1212
script: ./tool/travis.sh
1313

1414
os:
15-
- osx
1615
- linux
1716

17+
matrix:
18+
include:
19+
- env: DARTDOC_BOT=main
20+
os: osx
21+
dart: "dev/raw/latest"
22+
1823
install:
1924
- ./tool/install_travis.sh
2025

tool/travis.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ elif [ "$DARTDOC_BOT" = "flutter" ]; then
2727
pub run grinder validate-flutter-docs
2828
elif [ "$DARTDOC_BOT" = "packages" ]; then
2929
echo "Running packages dartdoc bot"
30-
if [ ${DART_VERSION} != 2.0.0 ] ; then
30+
if [ ${DART_VERSION} != 2.2.0 ] ; then
3131
PACKAGE_NAME=angular PACKAGE_VERSION=">=5.1.0" DARTDOC_PARAMS="--include=angular,angular.security" pub run grinder build-pub-package
3232
else
3333
PACKAGE_NAME=angular PACKAGE_VERSION=">=5.0.0-beta <5.1.0" DARTDOC_PARAMS="--include=angular,angular.security" pub run grinder build-pub-package

0 commit comments

Comments
 (0)