Merge pull request #434 from skl131313/travis

Refactor travis to test and build dub in separate job.
This commit is contained in:
skl131313 2017-05-21 10:24:50 -04:00 committed by GitHub
commit dc395eb3c8
3 changed files with 12 additions and 5 deletions

View File

@ -2,11 +2,12 @@
set -e set -e
dub build --build=release if [[ $BUILD == dub ]]; then
git submodule update --init --recursive dub test
elif [[ $DC == ldc2 ]]; then
if [ $DC = ldc2 ]; then git submodule update --init --recursive
make test DC=ldmd2 make test DC=ldmd2
else else
git submodule update --init --recursive
make test make test
fi fi

View File

@ -9,5 +9,8 @@ d:
os: os:
- linux - linux
- osx - osx
env:
- BUILD=
- BUILD=dub
script: ./.travis.sh script: ./.travis.sh

View File

@ -5,7 +5,10 @@
"authors": ["Brian Schott"], "authors": ["Brian Schott"],
"license" : "Boost Software License - Version 1.0", "license" : "Boost Software License - Version 1.0",
"targetType": "executable", "targetType": "executable",
"versions": ["built_with_dub"], "versions": [
"built_with_dub",
"StdLoggerDisableWarning"
],
"dependencies": { "dependencies": {
"libdparse": "~>0.7.0", "libdparse": "~>0.7.0",
"dsymbol": "~>0.2.0", "dsymbol": "~>0.2.0",