Run tests on Node and the VM by default (#197)

This commit is contained in:
Natalie Weizenbaum 2017-12-01 14:19:21 -08:00 committed by GitHub
parent b68a25a03e
commit 47026f3f42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -62,10 +62,10 @@ script:
elif [ "$TASK" = tests ]; then
if [ -z "$NODE_VERSION" ]; then
echo "${bold}Running Dart tests against $(dart --version &> /dev/stdout).$none";
pub run test -x node;
pub run test -x node -p vm;
else
echo "${bold}Running Node tests against Node $(node --version).$none";
pub run test -p node,vm -t node;
pub run test -t node;
fi;
else
echo "${bold}Running sass-spec against $(dart --version &> /dev/stdout).$none";

View File

@ -1,3 +1,5 @@
tags:
# Indicates tests that require Node.js.
node:
platforms: [vm, node]