FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
JavaScriptServices/appveyor.yml at angular-animations-example · aspnet/JavaScriptServices · GitHub
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
aspnet
/
JavaScriptServices
Public archive
Notifications
You must be signed in to change notification settings
Fork
512
Star
3k
Code
Issues
0
Pull requests
0
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
JavaScriptServices
/
appveyor.yml
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
42 lines (42 loc) · 1.65 KB
Breadcrumbs
JavaScriptServices
/
appveyor.yml
Copy path
File metadata and controls
executable file
·
42 lines (42 loc) · 1.65 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
40
41
42
ini
t:
-
git config --global core.autocrlf true
install
:
-
ps
:
Install-Product node 6.9.2 x64
#
.NET Core SDK binaries
#
Download .NET Core 2.0 Preview 3 SDK and add to PATH
-
ps
:
$urlCurrent = "https://dotnetcli.azureedge.net/dotnet/Sdk/2.0.0-preview3-006857/dotnet-sdk-2.0.0-preview3-006857-win-x64.zip"
-
ps
:
$env:DOTNET_INSTALL_DIR = "$pwd\.dotnetsdk"
-
ps
:
mkdir $env:DOTNET_INSTALL_DIR -Force | Out-Null
-
ps
:
$tempFileCurrent = [System.IO.Path]::Combine([System.IO.Path]::GetTempPath(), [System.IO.Path]::GetRandomFileName())
-
ps
:
(New-Object System.Net.WebClient).DownloadFile($urlCurrent, $tempFileCurrent)
-
ps
:
Add-Type -AssemblyName System.IO.Compression.FileSystem; [System.IO.Compression.ZipFile]::ExtractToDirectory($tempFileCurrent, $env:DOTNET_INSTALL_DIR)
-
ps
:
$env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
build_script
:
-
ps
:
Push-Location
-
cd templates/package-builder
-
npm install
-
npm run build
-
ps
:
Pop-Location
artifacts
:
-
path
:
templates\package-builder\artifacts\*.nupkg
name
:
Microsoft.AspNetCore.SpaTemplates
type
:
NuGetPackage
#
- ps: .\build.ps1
clone_depth
:
1
environment
:
global
:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE
:
true
DOTNET_CLI_TELEMETRY_OPTOUT
:
1
test_script
:
-
dotnet restore
-
ps
:
Push-Location
-
cd test
-
npm install selenium-standalone
-
ps
:
Start-Process node './start-selenium.js'
-
npm install
-
npm test
on_finish
:
-
ps
:
Pop-Location
#
After running tests, upload results to Appveyor
-
ps
:
(new-object net.webclient).UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\test\tmp\junit\*.xml))
deploy
:
off
Back
|
FazBrowse Home
|
New Git URL