-
Notifications
You must be signed in to change notification settings - Fork 9
/
.appveyor.yml
34 lines (28 loc) · 924 Bytes
/
.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
31
32
33
34
platform: x64
environment:
matrix:
- DC: dmd
arch: x86
skip_tags: false
install:
- ps: |
#$latest = (Invoke-WebRequest "http://downloads.dlang.org/releases/LATEST").toString();
#$url = "http://downloads.dlang.org/releases/2.x/$($latest)/dmd.$($latest).windows.7z";
$url = "http://downloads.dlang.org/releases/2.x/2.093.0/dmd.2.093.0.windows.7z"
(New-Object System.Net.WebClient).DownloadFile($url, "C:\dmd.7z");
7z x C:\dmd.7z -oC:\ > $null;
$env:DC="dmd"
$env:DMD="dmd"
$env:PATH="$($env:PATH);C:\dmd2\windows\bin;";
build: off
test_script:
- dub test -b unittest-cov --compiler=%DC%
# Currently disabled because codecov.sh fails with an exception
# after_test:
# - ps: |
# $env:PATH = 'C:\msys64\usr\bin;' + $env:PATH
# Invoke-WebRequest -Uri 'https://codecov.io/bash' -OutFile codecov.sh
# bash codecov.sh
branches:
only:
- master