Skip to content

Commit 0617566

Browse files
authored
Enable alt configs and close #16
Enable alt configs
2 parents 1739fd6 + 84fa141 commit 0617566

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

.travis.yml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,20 @@ language: csharp
22
solution: main.csproj
33
dotnet: 2.2.401
44
mono: none
5-
#env:
6-
# - defs=
7-
# - defs=AL_BEST_PERF
8-
# - defs=AL_OPTIMIZE
9-
# - defs=AL_STRICT
10-
# - defs=AL_THREAD_SAFE
5+
env:
6+
jobs:
7+
- defs=AL_NONE cfg=Release cover=1
8+
- defs=AL_OPTIMIZE cfg=Release
9+
- defs=AL_THREAD_SAFE cfg=Release
10+
- defs=AL_THREAD_SAFE%3BAL_OPTIMIZE cfg=Release
11+
- defs=AL_NONE cfg=Debug
12+
- defs=AL_OPTIMIZE cfg=Debug
13+
- defs=AL_THREAD_SAFE cfg=Debug
14+
- defs=AL_THREAD_SAFE%3BAL_OPTIMIZE cfg=Debug
1115
script:
12-
- dotnet test -c Release -p:DefineConstants=$defs
13-
- dotnet test -c Debug -p:DefineConstants=$defs
16+
- dotnet test -c $cfg -p:DefineConstants=$defs
1417
after_script:
15-
- dotnet test -c Release -p:CollectCoverage=true -p:CoverletOutputFormat=opencover
16-
- bash <(curl -s https://codecov.io/bash)
18+
- if [ -n "$cover" ]; then
19+
dotnet test -c Release -p:CollectCoverage=true -p:CoverletOutputFormat=opencover;
20+
bash <(curl -s https://codecov.io/bash);
21+
fi

0 commit comments

Comments
 (0)