mirror of
https://github.com/danog/dart-sass.git
synced 2025-01-22 05:41:14 +01:00
Run tests on Node and the VM by default (#197)
This commit is contained in:
parent
b68a25a03e
commit
47026f3f42
@ -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";
|
||||
|
@ -1,3 +1,5 @@
|
||||
tags:
|
||||
# Indicates tests that require Node.js.
|
||||
node:
|
||||
|
||||
platforms: [vm, node]
|
||||
|
Loading…
x
Reference in New Issue
Block a user