Skip to content

Commit 9b8e5e1

Browse files
committed
Adding githooks to take over travis stuff since pipes are busted up on Linux
1 parent bfe314d commit 9b8e5e1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.githooks/pre-push

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
3+
dotnet build -c Release
4+
dotnet test -c Release --no-build SLOBSharp.Tests/SLOBSharp.Tests.csproj -p:CollectCoverage=true -p:CoverletOutputFormat=opencover -p:Exclude="[SLOBSharp.Tests*]*"
5+
curl -s https://codecov.io/bash > codecov
6+
chmod +x codecov
7+
./codecov -f ./SLOBSharp.Tests/coverage.opencover.xml
8+
9+
rm -rf codecov

0 commit comments

Comments
 (0)