/
.travis.yml
20 lines (18 loc) · 1.41 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
dist: trusty
language: csharp
mono: none
dotnet: 2.1.502 #3.1.300 # For some reason .Net Core v3.1 is not working with Travis. I might have been using the wrong version. Check cmd: dotnet --version
install:
- dotnet restore
# addons:
# sonarcloud:
# organization: "markpthomas-github"
# token:
# # encrypted value of your token by running the command line: travis encrypt {token_provided_by_SonarCloud}
# secure:"ucx1Wy5UZ8PKGLsTJ94Q2D//6WsLI27Ds47WU2CTbREO6i/XYnvaXWADYYQs4rp+o/gs4ICV2bv2iL3tVNXyG59G4a/KPOuh11I3XqC9lOiy0vX3bRo30TdvYQtstH0FDoquRYGDtgv9BhUMe2eQB1GTutnwD/5iKuQozbTceqpHL7Rsq1AnuP+PtFS7HNkPNmW2fBPCY4OimCZ63XXcJ1kfYrTF3UeOSq43SM/3JvO2whgZWv3hs3bHA3KSZTxfNY3wFnD0hYXNMcn22Ts3CN/L8RSm5yLnI8Wx96+Hv51RYyYp/V9LEm3cgE7GmgBhcVDFSs00QuiqJlUZfw0B0vwOUea1NJjoOL/tBB64K3xDMgz1PB3RhlLn3eaB3Ws+iNwu+d2ysKjWAbBAIdkbMRSpriSF9uVMOpNsxYYD8xlB/S3kvuxMMLY8t8QFuxKswvwBRVlg6AAFazqwxpB3vbk3AHxOZQY+Ylb+kY0Lu7N+0D2t9gHT0mt6FBwYa6rIn6VMVCbiYeJva/82YhD4VxwB9UgA8XOBzJDhhUJWGG35XUSMFuq6h+HFpLGMpZYgH2E3vu9+v1MZpLHGsH3+pim0XDu2n01nEcWCa0o32BNcDDjBLea+0bW2+Dqugekc7AGQvVE25TxvvX/1IF4s1brfnyyiGQOss4Jf3tg31Xg="
script:
- dotnet build MPT.Math/MPT.Math.csproj
- dotnet test MPT.Math.UnitTests/MPT.Math.UnitTests.csproj
#- dotnet test MPT.Math.xUnitTests/MPT.Math.xUnitTests.csproj
# the following command line builds the project, runs the tests with coverage and then execute the SonarCloud analysis
# - sonar-scanner X