Skip to content

Commit

Permalink
added appveyor config
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudRoutine committed Dec 1, 2016
1 parent 595e18c commit f268249
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 33 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ project.lock.json
paket-files/
BenchmarkDotNet.Artifacts/
/.fake/
/.vs/
33 changes: 0 additions & 33 deletions Expecto.netcore/backup/project.json

This file was deleted.

26 changes: 26 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
os: Visual Studio 2015

environment:
matrix:
- CLI_VERSION: 1.0.0-preview3-003857

build_script:

# .NET Core SDK binaries
- ps: $url = "https://dotnetcli.blob.core.windows.net/dotnet/Sdk/rel-1.0.0/dotnet-dev-win-x64.latest.zip"

# Download .NET Core SDK and add to PATH
- ps: $env:DOTNET_INSTALL_DIR = "$pwd\.dotnetsdk"
- ps: mkdir $env:DOTNET_INSTALL_DIR -Force | Out-Null
- ps: $tempFile = [System.IO.Path]::GetTempFileName()
- ps: (New-Object System.Net.WebClient).DownloadFile($url, $tempFile)
- ps: Add-Type -AssemblyName System.IO.Compression.FileSystem; [System.IO.Compression.ZipFile]::ExtractToDirectory($tempFile, $env:DOTNET_INSTALL_DIR)
- ps: $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
- dotnet --info
- cmd: build.cmd

# artifacts:
# - path: 'bin'

test: off
version: 0.0.1.{build}
1 change: 1 addition & 0 deletions build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ let netcoreDir = "Expecto.netcore"
let dotnet args dir = run "dotnet" args dir

Target "DotnetBuild" (fun _ ->
dotnet "--info" ""
dotnet "restore" netcoreDir
dotnet "build" netcoreDir
)
Expand Down

0 comments on commit f268249

Please sign in to comment.