forked from jacob-carlborg/dstep
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
69 lines (61 loc) · 1.48 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
dist: xenial
language: d
d:
- dmd
- ldc
install: ./tools/download_llvm.d
before_script:
- git fetch --unshallow
- |
if [ $TRAVIS_OS_NAME = 'osx' ]; then
./configure --llvm-path tmp/clang
fi
script: dub test --verror --compiler=${DC}
os:
- linux
- osx
env:
global: MACOSX_DEPLOYMENT_TARGET=10.9
matrix:
- LLVM_VERSION=10.0.0
- LLVM_VERSION=9.0.0
- LLVM_VERSION=8.0.0 # used by Buildkite
- LLVM_VERSION=6.0.0 # Used by Sociomantic
matrix:
include:
# beta and nightly builds for DMD and LDC
- &entry
d: dmd-beta
os: linux
env: LLVM_VERSION=10.0.0
- <<: *entry
d: ldc-beta
- <<: *entry
d: dmd-nightly
# deployment
- &deploy
stage: deploy
if: tag IS present
d: ldc
os: linux
env: LLVM_VERSION=10.0.0
install: ./tools/download_llvm.d --dstep
before_script: ./configure --llvm-path tmp/clang
script: ./tools/build_release.sh
deploy:
provider: releases
api_key:
secure: ABIe03HKvDC29vq9iwjNR2CdVzR+hwb987xQ00TaeuiBzcqAWagdNgKT2Flkqmsce0ppDN6XcMQqvJ7oi5fEkJ3rJB/Amws7dKzxglZKHDqHqskL6RzVpNIOvbcN0hv/FuQm+w4ha5/VbzMrGtYgYXCZYQQeT12pNrKZSuUoGEE=
draft: true
tag_name: $TRAVIS_TAG
file_glob: true
file: dstep*.tar.xz
skip_cleanup: true
on:
tags: true
- <<: *deploy
os: osx
before_install: brew install ncurses
allow_failures:
- <<: *entry
d: dmd-nightly