Skip to content

Commit

Permalink
Optimise TravisCI builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Fediushin committed Aug 30, 2017
1 parent e6524f8 commit 50f89ad
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 17 deletions.
15 changes: 0 additions & 15 deletions .travis.sh

This file was deleted.

11 changes: 9 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,22 @@ os:
- linux
- osx

env:
- ARCH=x86_64

matrix:
exclude:
- d: gdc
os: osx

script: bash ./.travis.sh
script:
- if [ "$DC" != gdc ]; then dub test --compiler=$DC --arch=$ARCH; fi
- dub build -b debug --compiler=$DC --arch=$ARCH

before_deploy:
- export FILE_TO_UPLOAD=$(ls *.tar.gz)
- dub build -b release --compiler=$DC --arch=$ARCH
- tar -zcf "covered-$TRAVIS_TAG-$TRAVIS_OS_NAME-$DC-x86_64.tar.gz" covered
- export FILE_TO_UPLOAD=$(ls covered-*.tar.gz)

deploy:
skip_cleanup: true
Expand Down

0 comments on commit 50f89ad

Please sign in to comment.