Skip to content

Make publish test conditional on version #2065

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Nov 8, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ install:
build: off

test_script:
- pub run grinder buildbot
- pub run grinder buildbot-no-publish
1 change: 1 addition & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: dartdoc
# Run `grind build` after updating.
version: 0.29.0
author: Dart Team <[email protected]>
description: A documentation generator for Dart.
homepage: https://github.com/dart-lang/dartdoc
environment:
Expand Down
6 changes: 5 additions & 1 deletion tool/travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,11 @@ elif [ "$DARTDOC_BOT" = "sdk-analyzer" ]; then
DARTDOC_GRIND_STEP=buildbot-no-publish pub run grinder test-with-analyzer-sdk
else
echo "Running main dartdoc bot"
pub run grinder buildbot
if echo "${DART_VERSION}" | grep -q dev ; then
pub run grinder buildbot-no-publish
else
pub run grinder buildbot
fi
if [ -n "$COVERAGE_TOKEN" ] ; then
coveralls-lcov --repo-token="${COVERAGE_TOKEN}" lcov.info
fi
Expand Down