Skip to content

Commit 18d1c95

Browse files
committed
Appveyor config
1 parent 0027531 commit 18d1c95

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
This PowerShell module contains cmdlets to query installed instances of Unity3D and easily launch the Unity Editor for the correct instances for Unity projects.
44

5+
## Builds
6+
[![Build status](https://ci.appveyor.com/api/projects/status/m7ykg9s8gw23fn6h?svg=true)](https://ci.appveyor.com/project/jwittner/unitysetup-powershell)
7+
8+
The `master` branch is automatically built and deployed to the [PowerShell Gallery](https://www.powershellgallery.com/packages/UnitySetup).
9+
10+
511
## Installation
612

713
```powershell

appveyor.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
version: '{build}'
2+
pull_requests:
3+
do_not_increment_build_number: true
4+
branches:
5+
only:
6+
- master
7+
environment:
8+
NugetAPIKey:
9+
secure: zvkaZiaBXVko+3ZzuSb7W6DTUJmHX98XgEhKs28SnGD+4TM3gzhPxVnNWSmBhXEx
10+
install:
11+
- ps: >-
12+
Install-PackageProvider -Name NuGet -Force | Out-Null
13+
14+
Install-Module PowerShellGet -Scope CurrentUser -Force
15+
build_script:
16+
- ps: .\build.ps1 -Revision $env:APPVEYOR_BUILD_NUMBER
17+
deploy_script:
18+
- ps: start powershell -wait { Publish-Module -Path .\UnitySetup -NugetAPIKey $env:NugetAPIKey }

0 commit comments

Comments
 (0)