forked from sociomantic-tsunami/dmqproto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
61 lines (52 loc) · 1.62 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
# We will use docker to set up out environment, so don't use any particular
# language in Travis itself
language: generic
# Enable docker
sudo: required
services:
- docker
# Disable automatic submodule fetching (it's done recursively)
git:
submodules: false
# Do a shallow submodule fetch
before_install: git submodule update --init
env:
global:
# Make sure beaver is in the PATH
- PATH="$(git config -f .gitmodules submodule.beaver.path)/bin:$PATH"
- DIST=xenial
- COV=1
# Basic config is inherited from the global scope
jobs:
templates:
- &test-matrix
stage: Test
# Don't build tags already converted to D2
if: NOT tag =~ \+d2$
after_success: beaver dlang codecov
install: beaver dlang install
script: beaver dlang make
include:
# Test matrix
- <<: *test-matrix
env: DMD=1.081.* F=production
- <<: *test-matrix
env: DMD=1.081.* F=devel
- <<: *test-matrix
env: DMD=2.071.2.s* F=production
- <<: *test-matrix
env: DMD=2.071.2.s* F=devel
- <<: *test-matrix
env: DMD=2.078.3.s* F=production
- <<: *test-matrix
env: DMD=2.078.3.s* F=devel
# Additional stages
- stage: Closure allocation check
env: DMD=2.078.3.s* F=devel
install: beaver dlang install
script: ci/closures.sh
- stage: D2 Release
if: tag IS present AND NOT tag =~ \+d2$
env: DMD=2.078.3.s* F=devel
install: beaver dlang install
script: beaver dlang d2-release