summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md9
-rw-r--r--appveyor.yml52
2 files changed, 57 insertions, 4 deletions
diff --git a/README.md b/README.md
index e4e018c..0e4213e 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,7 @@
# Tanya
-[![Build Status](https://travis-ci.org/caraus-ecms/tanya.svg?branch=master)](https://travis-ci.org/caraus-ecms/tanya)
+[![Build status](https://travis-ci.org/caraus-ecms/tanya.svg?branch=master)](https://travis-ci.org/caraus-ecms/tanya)
+[![Build status](https://ci.appveyor.com/api/projects/status/djkmverdfsylc7ti/branch/master?svg=true)](https://ci.appveyor.com/project/belka-ew/tanya/branch/master)
[![Dub version](https://img.shields.io/dub/v/tanya.svg)](https://code.dlang.org/packages/tanya)
[![Dub downloads](https://img.shields.io/dub/dt/tanya.svg)](https://code.dlang.org/packages/tanya)
[![License](https://img.shields.io/badge/license-MPL_2.0-blue.svg)](https://raw.githubusercontent.com/caraus-ecms/tanya/master/LICENSE)
@@ -46,9 +47,9 @@ Following modules are coming soon:
| Feature | Branch | Build status |
|--------------|:---------:|:---------------------------------------------------------------------------------------------------------------------:|
-| BitVector | bitvector | [![bitvector](https://travis-ci.org/caraus-ecms/tanya.svg?branch=bitvector)](https://travis-ci.org/caraus-ecms/tanya) |
-| TLS | crypto | [![crypto](https://travis-ci.org/caraus-ecms/tanya.svg?branch=crypto)](https://travis-ci.org/caraus-ecms/tanya) |
-| File IO | io | [![io](https://travis-ci.org/caraus-ecms/tanya.svg?branch=io)](https://travis-ci.org/caraus-ecms/tanya) |
+| BitVector | bitvector | [![bitvector](https://travis-ci.org/caraus-ecms/tanya.svg?branch=bitvector)](https://travis-ci.org/caraus-ecms/tanya) [![bitvector](https://ci.appveyor.com/api/projects/status/djkmverdfsylc7ti/branch/master?svg=true)](https://ci.appveyor.com/project/belka-ew/tanya/branch/bitvector) |
+| TLS | crypto | [![crypto](https://travis-ci.org/caraus-ecms/tanya.svg?branch=crypto)](https://travis-ci.org/caraus-ecms/tanya) [![crypto](https://ci.appveyor.com/api/projects/status/djkmverdfsylc7ti/branch/master?svg=true)](https://ci.appveyor.com/project/belka-ew/tanya/branch/crypto) |
+| File IO | io | [![io](https://travis-ci.org/caraus-ecms/tanya.svg?branch=io)](https://travis-ci.org/caraus-ecms/tanya) [![io](https://ci.appveyor.com/api/projects/status/djkmverdfsylc7ti/branch/master?svg=true)](https://ci.appveyor.com/project/belka-ew/tanya/branch/io) |
### Further characteristics
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 0000000..f44263e
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,52 @@
+platform: x64
+os: Visual Studio 2017
+
+environment:
+ matrix:
+ - DC: dmd
+ DVersion: 2.074.0
+ arch: x86
+ - DC: dmd
+ DVersion: 2.073.2
+ arch: x86
+ - DC: dmd
+ DVersion: 2.072.2
+ arch: x86
+ - DC: dmd
+ DVersion: 2.071.2
+ arch: x86
+
+skip_tags: true
+
+install:
+ - ps: function SetUpDCompiler
+ {
+ $env:toolchain = "msvc";
+ $version = $env:DVersion;
+ Invoke-WebRequest "http://downloads.dlang.org/releases/2.x/$($version)/dmd.$($version).windows.7z" -OutFile "c:\dmd.7z";
+ echo "finished.";
+ pushd c:\\;
+ 7z x dmd.7z > $null;
+ popd;
+ }
+ - ps: SetUpDCompiler
+
+ - ps: if($env:DVersion -eq "2.071.2"){
+ Invoke-WebRequest "http://code.dlang.org/files/dub-1.2.1-windows-x86.zip" -OutFile "dub.zip";
+ 7z x dub.zip -odub > $null;
+ Move-Item "dub/dub.exe" "C:\dmd2\windows\bin"
+ }
+
+before_build:
+ - ps: $env:PATH += ";C:\dmd2\windows\bin;";
+ - call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\VsDevCmd.bat" -arch=%arch%
+
+build_script:
+ - echo dummy build script - dont remove me
+
+test_script:
+ - echo %DC%
+ - echo %PATH%
+ - 'dub --version'
+ - '%DC% --version'
+ - dub test --arch=x86 --compiler=%DC%