46 lines
945 B
YAML
46 lines
945 B
YAML
sudo: false
|
|
language: d
|
|
d:
|
|
- dmd-nightly
|
|
- dmd-beta
|
|
- dmd
|
|
- ldc-beta
|
|
- ldc
|
|
os:
|
|
- linux
|
|
- osx
|
|
env:
|
|
- BUILD=
|
|
- BUILD=dub
|
|
script: "./.travis.sh"
|
|
jobs:
|
|
include:
|
|
- stage: GitHub Release
|
|
#if: tag IS present
|
|
d: ldc-1.8.0
|
|
os: linux
|
|
script: echo "Deploying to GitHub releases ..." && ./release.sh
|
|
deploy:
|
|
provider: releases
|
|
api_key: $GH_REPO_TOKEN
|
|
file_glob: true
|
|
file: bin/dscanner-*.tar.gz
|
|
skip_cleanup: true
|
|
on:
|
|
repo: dlang-community/D-Scanner
|
|
tags: true
|
|
- stage: GitHub Release
|
|
#if: tag IS present
|
|
d: ldc-1.8.0
|
|
os: osx
|
|
script: echo "Deploying to GitHub releases ..." && ./release.sh
|
|
deploy:
|
|
provider: releases
|
|
api_key: $GH_REPO_TOKEN
|
|
file_glob: true
|
|
file: bin/dscanner-*.tar.gz
|
|
skip_cleanup: true
|
|
on:
|
|
repo: dlang-community/D-Scanner
|
|
tags: true
|