mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 18:11:36 +01:00
31 lines
819 B
YAML
31 lines
819 B
YAML
version: 2
|
|
jobs:
|
|
build:
|
|
machine:
|
|
docker_layer_caching: true
|
|
steps:
|
|
- checkout
|
|
test:
|
|
machine: true
|
|
steps:
|
|
- checkout
|
|
- run:
|
|
command: |
|
|
lsb_release -a
|
|
wget -q https://packages.microsoft.com/config/ubuntu/14.04/packages-microsoft-prod.deb
|
|
sudo dpkg -i packages-microsoft-prod.deb
|
|
sudo apt-get install apt-transport-https
|
|
sudo apt-get update
|
|
sudo apt-get install dotnet-sdk-2.1
|
|
dotnet --info
|
|
dotnet build /p:TreatWarningsAsErrors=true
|
|
cd BTCPayServer.Tests
|
|
dotnet test --filter Fast=Fast
|
|
docker-compose up -d dev
|
|
dotnet test --filter Integration=Integration
|
|
workflows:
|
|
version: 2
|
|
build_and_test:
|
|
jobs:
|
|
- test
|