mirror of
https://github.com/danog/dart-sass.git
synced 2024-11-27 12:44:42 +01:00
38 lines
966 B
YAML
38 lines
966 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}
|
|
|
|
# We only support running Node tests with Dart >=2.0.0-dev.42.0, and the most
|
|
# recent version on Chocolatey is (at time of writing) 2.0.0-dev.5. Once it's
|
|
# updated, we should re-enable these tests.
|
|
# - {TASK: tests, NODE: true}
|
|
|
|
install:
|
|
- choco install dart-sdk
|
|
- 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
|
|
|
|
# Don't run Node tests on Windows until dart-lang/sdk#30098 lands.
|
|
test_script:
|
|
- ps: >-
|
|
If ($env:NODE -eq "true") {
|
|
pub run test -x dart2 -t node
|
|
} Else {
|
|
pub run test -p vm -x dart2 -x node
|
|
}
|