Merge pull request #434 from skl131313/travis
Refactor travis to test and build dub in separate job.
This commit is contained in:
commit
dc395eb3c8
|
@ -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
|
||||||
|
|
|
@ -9,5 +9,8 @@ d:
|
||||||
os:
|
os:
|
||||||
- linux
|
- linux
|
||||||
- osx
|
- osx
|
||||||
|
env:
|
||||||
|
- BUILD=
|
||||||
|
- BUILD=dub
|
||||||
|
|
||||||
script: ./.travis.sh
|
script: ./.travis.sh
|
||||||
|
|
5
dub.json
5
dub.json
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue