| OLD | NEW |
| 1 # Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file |
| 2 # for details. All rights reserved. Use of this source code is governed by a | 2 # for details. All rights reserved. Use of this source code is governed by a |
| 3 # BSD-style license that can be found in the LICENSE file. | 3 # BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 install: | 5 install: |
| 6 # TODO: Switch back to chocolatey once 1.12.0 is available. | |
| 7 # - choco install -y dart-sdk -version 1.11.1 | |
| 8 - ps: wget https://gsdview.appspot.com/dart-archive/channels/dev/raw/latest/sd
k/dartsdk-windows-x64-release.zip -OutFile dart-sdk.zip | 6 - ps: wget https://gsdview.appspot.com/dart-archive/channels/dev/raw/latest/sd
k/dartsdk-windows-x64-release.zip -OutFile dart-sdk.zip |
| 9 - cmd: echo "Unzipping dart-sdk..." | 7 - cmd: echo "Unzipping dart-sdk..." |
| 10 - cmd: 7z x dart-sdk.zip -o"C:\tools" -y > nul | 8 - cmd: 7z x dart-sdk.zip -o"C:\tools" -y > nul |
| 11 - set PATH=%PATH%;C:\tools\dart-sdk\bin | 9 - set PATH=%PATH%;C:\tools\dart-sdk\bin |
| 12 - set PATH=%PATH%;%APPDATA%\Pub\Cache\bin | 10 - set PATH=%PATH%;%APPDATA%\Pub\Cache\bin |
| 13 - pub get | 11 - pub get |
| 14 | 12 |
| 15 build: off | 13 build: off |
| 16 | 14 |
| 17 test_script: | 15 test_script: |
| 18 # - pub run test -j1 | 16 # - pub run test -j1 |
| 19 - dart test\all.dart | 17 - dart test\all.dart |
| OLD | NEW |