File tree Expand file tree Collapse file tree 4 files changed +33
-15
lines changed
Expand file tree Collapse file tree 4 files changed +33
-15
lines changed Original file line number Diff line number Diff line change 11language : csharp
22solution : SimplCommerce.sln
3-
4- matrix :
5- include :
6- - os : osx
7- dotnet : 1.0.0
8- mono : none
9- env : DOTNETCORE=1
10- - os : linux
11- dist : trusty
12- sudo : required
13- dotnet : 1.0.0
14- mono : none
15- env : DOTNETCORE=1
3+ sudo : required
4+ dist : trusty
5+ dotnet : 1.0.0
6+ mono : none
7+ os :
8+ - linux
9+ - osx
1610
1711branches :
1812 only :
@@ -23,5 +17,9 @@ notifications:
2317 on_success : change
2418 on_failure : always
2519
20+ before_script :
21+ - dotnet restore
22+
2623script :
27- - if [ -n "${DOTNETCORE}" ]; then dotnet restore && dotnet build ./SimplCommerce.sln; fi
24+ - dotnet build ./SimplCommerce.sln
25+ - ./run-tests.sh
Original file line number Diff line number Diff line change 33 - git config --global core.autocrlf true
44before_build :
55 - appveyor-retry dotnet restore -v Minimal
6- test : off
6+ test : on
7+ test_script :
8+ - ps : .\run-tests.ps1
79deploy : off
Original file line number Diff line number Diff line change 1+ Get-ChildItem " test" | ? { $_.PsIsContainer } | % {
2+ pushd " test\$_ "
3+ & dotnet test
4+ popd
5+ }
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ echo " "
4+ echo " Run tests..."
5+ echo " "
6+
7+ for test in ./test/* /
8+ do
9+ echo " Testing $test "
10+ pushd " $test "
11+ dotnet test
12+ popd
13+ done
You can’t perform that action at this time.
0 commit comments