forked from Dart-Code/Dart-Code
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
30 lines (28 loc) · 1.28 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
install:
- ps: $env:package_version = (Get-Content -Raw -Path package.json | ConvertFrom-Json).version
- ps: Update-AppveyorBuild -Version "$env:package_version.$env:APPVEYOR_BUILD_NUMBER"
- ps: Install-Product node ''
- ps: $env:ELECTRON_NO_ATTACH_CONSOLE = 1
- ps: Invoke-WebRequest "https://storage.googleapis.com/dart-archive/channels/stable/release/latest/sdk/dartsdk-windows-x64-release.zip" -OutFile "dart.zip"
- ps: Invoke-WebRequest "https://storage.googleapis.com/dart-archive/channels/dev/release/latest/sdk/dartsdk-windows-x64-release.zip" -OutFile "dart-dev.zip"
- ps: 7z.exe x dart.zip | out-null
- ps: 7z.exe x -odev dart-dev.zip | out-null
- git clone -b beta https://github.com/flutter/flutter.git
- cd flutter
- git worktree add ..\dev\flutter origin/master
- cd ..
- ps: $env:PATH_STABLE = "$pwd\dart-sdk\bin;$pwd\flutter\bin;"
- ps: $env:PATH_UNSTABLE = "$pwd\dev\dart-sdk\bin;$pwd\dev\flutter\bin"
- flutter\bin\flutter config --no-analytics
- dart-sdk\bin\dart --version
- flutter\bin\flutter --version
- dev\dart-sdk\bin\dart --version
- dev\flutter\bin\flutter --version
- node --version
- npm --version
build_script:
- npm install --depth 0 --silent
- npm run vscode:prepublish --silent
- npm run lint --silent
test_script:
- npm test