forked from vibe-d/vibe.d
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
71 lines (60 loc) · 1.66 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
language: d
dist: xenial
services:
- mongodb
- redis-server
addons:
apt:
packages:
- gdb
- pkg-config
- zlib1g-dev
- libevent-dev
- libssl-dev
branches:
only:
- master
- /^v\d+\.x\.x$/
- /^v\d+\.\d+\.x$/
# Enable core dumps
before_script:
- ulimit -c unlimited -S
- sudo mkdir /cores/ && sudo chmod 777 /cores/
- echo "/cores/%E.%p" | sudo tee /proc/sys/kernel/core_pattern
after_failure:
- ./scripts/core-dump.sh
d:
# order: latest DMD, oldest DMD, LDC/GDC, remaining DMD versions
# this way the overall test time gets cut down (GDC/LDC are a lot
# slower tham DMD, so they should be started early), while still
# catching most DMD version related build failures early
# only the latest 4 and the oldest supported versions of each compiler
# are present to reduce the overall CI time
- dmd-2.093.1,dub
- dmd-2.083.1,dub
- ldc-1.22.0,dub
- ldc-1.18.0,dub
- ldc-1.17.0,dub
- dmd-2.090.1,dub
- dmd-2.085.0,dub # 2.085.1 has a regression
- dmd-2.084.1,dub
- dmd-beta,dub
env:
- VIBED_DRIVER=vibe-core PARTS=builds,unittests,examples,tests,mongo
matrix:
include:
- d: dmd
env: DFLAGS="-cov -version=VibedSetCoverageMerge" PARTS=unittests,tests
#before_install:
# - pyenv global system 3.6
# - pip3 install 'meson==0.47.2' # pinned until the meson#4248 fix is released
#install:
# - mkdir .ntmp
# - curl -L https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-linux.zip -o .ntmp/ninja-linux.zip
# - unzip .ntmp/ninja-linux.zip -d .ntmp
#
#before_script:
# - export PATH=$PATH:$PWD/.ntmp
script: ./travis-ci.sh
after_success:
- bash <(curl -s https://codecov.io/bash)