Skip to content

Commit 328b155

Browse files
committed
add unittest-release build for travis
1 parent fe73774 commit 328b155

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,6 @@ branches:
2222
- master
2323
script:
2424
- dub test --arch "$ARCH" --build=unittest-cov
25+
- dub test --arch "$ARCH" --build=unittest-release
2526
after_success:
2627
- bash <(curl -s https://codecov.io/bash)

dub.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
"unittest-cov": {
1515
"buildOptions": ["unittests", "coverage", "debugMode", "debugInfo"],
1616
"versions": ["mir_test"]
17+
},
18+
"unittest-release": {
19+
"buildOptions": ["unittests", "releaseMode", "optimize", "inline", "noBoundsCheck"],
20+
"versions": ["mir_test"]
1721
}
1822
},
1923
"configurations": [

0 commit comments

Comments
 (0)