mirror of
https://github.com/danog/dart-sass.git
synced 2025-01-22 05:41:14 +01:00
Run Appveyor against the Dart 2 SDK (#319)
This commit is contained in:
parent
9fb508e338
commit
454603d160
13
appveyor.yml
13
appveyor.yml
@ -8,14 +8,10 @@ branches:
|
|||||||
environment:
|
environment:
|
||||||
matrix:
|
matrix:
|
||||||
- {TASK: tests, NODE: false}
|
- {TASK: tests, NODE: false}
|
||||||
|
- {TASK: tests, NODE: true}
|
||||||
# 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:
|
install:
|
||||||
- choco install dart-sdk
|
- choco install --pre dart-sdk
|
||||||
- refreshenv
|
- refreshenv
|
||||||
- pub get
|
- pub get
|
||||||
- ps: >-
|
- ps: >-
|
||||||
@ -27,11 +23,10 @@ install:
|
|||||||
# Run this as CMD because npm's stderr will cause PowerShell to think it failed.
|
# Run this as CMD because npm's stderr will cause PowerShell to think it failed.
|
||||||
- IF "%NODE%"=="true" npm install
|
- IF "%NODE%"=="true" npm install
|
||||||
|
|
||||||
# Don't run Node tests on Windows until dart-lang/sdk#30098 lands.
|
|
||||||
test_script:
|
test_script:
|
||||||
- ps: >-
|
- ps: >-
|
||||||
If ($env:NODE -eq "true") {
|
If ($env:NODE -eq "true") {
|
||||||
pub run test -x dart2 -t node
|
pub run test -t node
|
||||||
} Else {
|
} Else {
|
||||||
pub run test -p vm -x dart2 -x node
|
pub run test -p vm -x node
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user