diff options
| author | ivarlovlie <git@ivarlovlie.no> | 2021-04-16 20:00:45 +0200 |
|---|---|---|
| committer | ivarlovlie <git@ivarlovlie.no> | 2021-04-16 20:00:45 +0200 |
| commit | 88545536d9e4b6576eb0906568d771f87338940a (patch) | |
| tree | 5991b393b1034bacd5fba439a65f25d42386c793 /.srht | |
| parent | 210d105fa7fc682c879e318876b600114d1c8846 (diff) | |
| download | dotnet-vipps-ecommerce-88545536d9e4b6576eb0906568d771f87338940a.tar.xz dotnet-vipps-ecommerce-88545536d9e4b6576eb0906568d771f87338940a.zip | |
Rename .builds to .srht
Diffstat (limited to '.srht')
| -rw-r--r-- | .srht/.run-tests.yml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/.srht/.run-tests.yml b/.srht/.run-tests.yml new file mode 100644 index 0000000..c043173 --- /dev/null +++ b/.srht/.run-tests.yml @@ -0,0 +1,28 @@ +image: alpine/latest +packages: + - bash + - icu-libs + - krb5-libs + - libgcc + - libintl + - libssl1.1 + - libssl1.1 + - zlib +sources: + - https://git.sr.ht/~ivar/IOL.VippsEcommerce +tasks: + - install-dotnet: | + wget https://dot.net/v1/dotnet-install.sh + chmod +x dotnet-install.sh + bash dotnet-install.sh -c 5.0 + - display-dotnet-info: | + $HOME/.dotnet/dotnet --info + - restore: | + cd $HOME/IOL.VippsEcommerce + $HOME/.dotnet/dotnet restore src/IOL.VippsEcommerce.Tests/IOL.VippsEcommerce.Tests.csproj + - build: | + cd $HOME/IOL.VippsEcommerce + $HOME/.dotnet/dotnet build --no-restore src/IOL.VippsEcommerce.Tests/IOL.VippsEcommerce.Tests.csproj + - test: | + cd $HOME/IOL.VippsEcommerce + $HOME/.dotnet/dotnet test --no-build --verbosity normal src/IOL.VippsEcommerce.Tests/IOL.VippsEcommerce.Tests.csproj |
