dart-sass/appveyor.yml

33 lines
678 B
YAML
Raw Normal View History

2017-02-11 00:24:56 +01:00
build: off
branches:
2017-11-17 22:38:23 +01:00
only: [master, /^features\..*]
2017-02-11 00:24:56 +01:00
# 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}
2017-02-11 00:24:56 +01:00
install:
- choco install --pre dart-sdk
2017-02-11 00:24:56 +01:00
- refreshenv
- pub get
- ps: >-
If ($env:NODE -eq "true") {
Install-Product node ''
pub run grinder npm_package
2017-02-11 00:24:56 +01:00
}
# Run this as CMD because npm's stderr will cause PowerShell to think it failed.
- IF "%NODE%"=="true" npm install
2017-02-11 00:24:56 +01:00
test_script:
- ps: >-
If ($env:NODE -eq "true") {
pub run test -t node
2017-02-11 00:24:56 +01:00
} Else {
pub run test -p vm -x node
2017-02-11 00:24:56 +01:00
}