-
Notifications
You must be signed in to change notification settings - Fork 7
/
appveyor.yml
39 lines (32 loc) · 1.04 KB
/
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
35
36
37
38
39
version: 1.0.{build}
image: Visual Studio 2017
configuration: Release
platform: Any CPU
pull_requests:
do_not_increment_build_number: true
environment:
COVERALLS_REPO_TOKEN:
secure: KGgjDf8hoFZW+XtetYeBGvb+Q5K7D5pKprkC164EM7s6+klUTvpJ+9L6qr7bYZHa
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
install:
- ps: Install-Product node
before_build:
- ps: dotnet --info
- ps: dotnet restore
- ps: cd swlSimulator
- npm install
build_script:
- ps: cd ..
- ps: dotnet build swlsimNET.sln --configuration Release
- ps: cd swlSimulator
- ps: node node_modules/webpack/bin/webpack.js --config webpack.config.vendor.js --env.prod
- ps: node node_modules/webpack/bin/webpack.js --env.prod
- ps: dotnet publish --configuration Release
- ps: copy ..\manifest.xml "bin\Any CPU\Release\netcoreapp2.0\manifest.xml"
- ps: mkdir C:\projects\swlsimnet\artifacts
artifacts:
- path: artifacts\swlSimulator.zip
name: swlSimulator
type: WebDeployPackage
test_script:
- dotnet test "C:\projects\swlsimnet\swlsimNET.Tests\swlSimulator.Tests.csproj