dart-sass/appveyor.yml
Natalie Weizenbaum a87300a1e9 Use camel-case for grinder task names
This also causes Grinder to use hyphen-separated names for them on the
CLI, rather than underscore-separated.
2018-06-25 16:40:26 -07:00

33 lines
703 B
YAML

build: off
branches:
only: [master, /^features\..*]
# Don't run specs because sass-spec doesn't support Windows. They're also
# supposed to be platform-independent.
environment:
matrix:
- {TASK: tests, NODE: false}
- {TASK: tests, NODE: true}
install:
- choco install --pre dart-sdk --version 2.0.0.63-dev-0
- refreshenv
- pub get
- ps: >-
If ($env:NODE -eq "true") {
Install-Product node ''
pub run grinder npm-package
}
# Run this as CMD because npm's stderr will cause PowerShell to think it failed.
- IF "%NODE%"=="true" npm install
test_script:
- ps: >-
If ($env:NODE -eq "true") {
pub run test -t node
} Else {
pub run test -p vm -x node
}