-
Notifications
You must be signed in to change notification settings - Fork 9
/
.travis.yml
123 lines (118 loc) · 2.56 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
language: d
addons:
apt:
update: true
packages:
- libevent-dev
- libssl-dev
- pkg-config
- zlib1g-dev
# - ninja-build
- python3
- python3-pip
- python3-setuptools
# - meson # is too old
homebrew:
update: true
packages:
- ninja
- python
# - meson # is too old
jobs:
include:
- name: "ldc-latest D compiler on Xenial Linux using dub"
os: linux
dist: xenial
d: ldc
env:
- COVERAGE=false
- BUILD_TOOL='dub'
- name: "ldc-latest D compiler on Xenial Linux using meson"
os: linux
dist: xenial
d: ldc
env:
- COVERAGE=false
- BUILD_TOOL='meson'
- name: "dmd-latest D compiler on Xenial Linux using dub"
os: linux
dist: xenial
d: dmd
env:
- COVERAGE=false
- BUILD_TOOL='dub'
- name: "dmd-2.088.1 D compiler on Xenial Linux using dub"
os: linux
dist: xenial
d: dmd-2.088.1
env:
- COVERAGE=true
- DOCS=true
- BUILD_TOOL='dub'
- name: "dmd-latest D compiler on Xenial Linux using meson"
os: linux
dist: xenial
d: dmd
env:
- COVERAGE=false
- BUILD_TOOL='meson'
- name: "dmd-2.088.1 D compiler on Xenial Linux using meson"
os: linux
dist: xenial
d: dmd-2.088.1
env:
- COVERAGE=false
- BUILD_TOOL='meson'
- name: "dmd-nightly D compiler on Xenial Linux using dub"
os: linux
dist: xenial
d: dmd-nightly
env:
- COVERAGE=false
- BUILD_TOOL='dub'
- name: "dmd-latest D compiler on macOS using dub"
os: osx
osx_image: xcode11.2
d: dmd
env:
- COVERAGE=false
- BUILD_TOOL='dub'
- name: "dmd-2.088.1 D compiler on macOS using dub"
os: osx
osx_image: xcode11.2
d: dmd-2.088.1
env:
- COVERAGE=false
- BUILD_TOOL='dub'
allow_failures:
- d: dmd-nightly
# - d: dmd
# env:
# - COVERAGE=false
# - BUILD_TOOL='dub'
# - d: dmd
# env:
# - COVERAGE=false
# - BUILD_TOOL='meson'
# - d: ldc
# env:
# - COVERAGE=false
# - BUILD_TOOL='dub'
before_deploy:
- dub build -b ddox
# https://docs.travis-ci.com/user/deployment-v2/providers/pages/
deploy:
provider: pages
local_dir: docs
cleanup: false
token: $GITHUB_TOKEN
keep_history: true
edge: true # opt in to dpl v2
on:
branch: master
condition: $DOCS = true
script:
- ./travis.sh
branches:
only:
- master