-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Legger til appveyor-deploy som subrepo og .yml
- Loading branch information
Aleksander Aas Sjåfjell
committed
Nov 8, 2016
1 parent
a8aacab
commit 304dc5b
Showing
7 changed files
with
92 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "appveyor-deploy"] | ||
path = appveyor-deploy | ||
url = https://github.com/digipost/appveyor-deploy.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,16 +64,16 @@ public void Reservation_and_status_success() | |
public void Mobile_and_metadata_success() | ||
{ | ||
Assert.Equal("+4740485641", _fixture.Person.Kontaktinformasjon.Mobiltelefonnummer.Nummer); | ||
Assert.Equal(new DateTime(2015, 04, 14, 14, 35, 19), _fixture.Person.Kontaktinformasjon.Mobiltelefonnummer.SistOppdatert); | ||
Assert.Equal(new DateTime(2015, 04, 14, 14, 35, 19), _fixture.Person.Kontaktinformasjon.Mobiltelefonnummer.SistVerifisert); | ||
Assert.Equal(new DateTime(2015, 04, 14, 12, 35, 19, DateTimeKind.Utc), _fixture.Person.Kontaktinformasjon.Mobiltelefonnummer.SistOppdatert.Value.DateTime.ToUniversalTime()); | ||
Assert.Equal(new DateTime(2015, 04, 14, 12, 35, 19, DateTimeKind.Utc), _fixture.Person.Kontaktinformasjon.Mobiltelefonnummer.SistVerifisert.Value.DateTime.ToUniversalTime()); | ||
} | ||
|
||
[Fact] | ||
public void Email_and_metadata_success() | ||
{ | ||
Assert.Equal("[email protected]", _fixture.Person.Kontaktinformasjon.Epostadresse.Epost); | ||
Assert.Equal(new DateTime(2015, 04, 14, 14, 35, 30), _fixture.Person.Kontaktinformasjon.Epostadresse.SistOppdatert); | ||
Assert.Equal(new DateTime(2015, 04, 14, 14, 35, 30), _fixture.Person.Kontaktinformasjon.Epostadresse.SistVerifisert); | ||
Assert.Equal(new DateTime(2015, 04, 14, 12, 35, 30, DateTimeKind.Utc), _fixture.Person.Kontaktinformasjon.Epostadresse.SistOppdatert.Value.DateTime.ToUniversalTime()); | ||
Assert.Equal(new DateTime(2015, 04, 14, 12, 35, 30, DateTimeKind.Utc), _fixture.Person.Kontaktinformasjon.Epostadresse.SistVerifisert.Value.DateTime.ToUniversalTime()); | ||
} | ||
|
||
[Fact] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule appveyor-deploy
added at
bdba9d
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,81 @@ | ||
configuration: Release | ||
######################################################## | ||
## MASTER and BETA BUILD ## | ||
######################################################## | ||
- | ||
branches: | ||
only: | ||
- master | ||
- beta | ||
version: version-placeholder-{build}-{branch} | ||
cache: | ||
- packages -> **\packages.config | ||
configuration: Release | ||
environment: | ||
strong_name_key_encryption_key: | ||
secure: klTrmUGElJ32M1IvA5ecksVOZoUhA22ZAEVhpi5qaZY= | ||
virksomhetssertifikat_pass: | ||
secure: ***REMOVED*** | ||
virksomhetssertifikat_encryption_key: | ||
secure: ***REMOVED*** | ||
install: | ||
- git submodule update --init --recursive | ||
- nuget install secure-file -ExcludeVersion | ||
- secure-file\tools\secure-file -decrypt signingkey.snk.enc -secret %strong_name_key_encryption_key% | ||
before_build: | ||
- ps: >- | ||
.\appveyor-deploy\MoveSigningKey.ps1 -signingKeyPath "$env:APPVEYOR_BUILD_FOLDER\signingkey.snk" -signingKeyDestination "C:\Keys\signingkey.snk"; | ||
.\appveyor-deploy\NugetRestore.ps1; | ||
.\appveyor-deploy\AssemblyInfoVersionPatcher.ps1 -assemblyInfoPath ".\SolutionItems\SharedAssemblyInfo.cs"; | ||
.\appveyor-deploy\BuildPreamble.ps1 | ||
build: | ||
verbosity: minimal | ||
after_build: | ||
- ps: >- | ||
.\appveyor-deploy\NuspecVersionPatcher.ps1 -assembly "Difi.Oppslagstjeneste.Klient\bin\Release\Difi.Oppslagstjeneste.Klient.dll" -nuspec "difi-oppslagstjeneste-klient.nuspec"; | ||
nuget pack; | ||
artifacts: | ||
- path: '*.nupkg' | ||
before_test: | ||
- ps: >- | ||
.\appveyor-deploy\TestPreamble.ps1 | ||
before_deploy: | ||
- ps: >- | ||
.\appveyor-deploy\DeployPreamble.ps1 | ||
deploy: | ||
provider: NuGet | ||
api_key: | ||
secure: ShY/hyVGNf4W+jmwNVZDhWjqxh2jx9r5wSR6Cuq1AsVPcsxv+cYlSCwoIl0I6kpZ | ||
skip_symbols: true | ||
artifact: /.*\.nupkg/ | ||
|
||
before_build: | ||
- nuget restore | ||
|
||
build: | ||
verbosity: minimal | ||
|
||
######################################################## | ||
## OTHER BRANCHES ## | ||
######################################################## | ||
|
||
- | ||
version: version-placeholder-{build}-{branch} | ||
cache: | ||
- packages -> **\packages.config | ||
configuration: Release | ||
environment: | ||
strong_name_key_encryption_key: | ||
secure: klTrmUGElJ32M1IvA5ecksVOZoUhA22ZAEVhpi5qaZY= | ||
virksomhetssertifikat_pass: | ||
secure: ***REMOVED*** | ||
virksomhetssertifikat_encryption_key: | ||
secure: ***REMOVED*** | ||
install: | ||
- git submodule update --init --recursive | ||
- nuget install secure-file -ExcludeVersion | ||
- secure-file\tools\secure-file -decrypt signingkey.snk.enc -secret %strong_name_key_encryption_key% | ||
before_build: | ||
- ps: >- | ||
.\appveyor-deploy\MoveSigningKey.ps1 -signingKeyPath "$env:APPVEYOR_BUILD_FOLDER\signingkey.snk" -signingKeyDestination "C:\Keys\signingkey.snk"; | ||
.\appveyor-deploy\NugetRestore.ps1; | ||
.\appveyor-deploy\BuildPreamble.ps1 | ||
build: | ||
verbosity: minimal | ||
before_test: | ||
- ps: >- | ||
.\appveyor-deploy\TestPreamble.ps1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.