DCD/.travis.yml

51 lines
992 B
YAML

sudo: false
language: d
d:
- dmd-nightly
- dmd-beta
- dmd
- ldc-beta
- ldc
os:
- linux
# TODO, some bug in OSX for the server that causes it to fail
# - osx
env:
- BUILD=
- BUILD=dub
script: ./.travis.sh
jobs:
include:
- stage: GitHub Release
if: tag IS present
d: ldc
os: linux
script: echo "Deploying to GitHub releases ..." && make release
deploy:
provider: releases
api_key: $GH_REPO_TOKEN
file_glob: true
file: bin/dcd-*.tar.gz
skip_cleanup: true
on:
repo: dlang-community/dcd
tags: true
- stage: GitHub Release
if: tag IS present
d: ldc
os: osx
script: echo "Deploying to GitHub releases ..." && make release
deploy:
provider: releases
api_key: $GH_REPO_TOKEN
file_glob: true
file: bin/dcd-*.tar.gz
skip_cleanup: true
on:
repo: dlang-community/dcd
tags: true