-
Notifications
You must be signed in to change notification settings - Fork 15
/
.travis.yml
47 lines (45 loc) · 1.43 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
os:
- linux
# Temporarily disable osx builds in Travis CI because of very long wait times
# - osx
language: d
d:
- ldc,dub
- dmd,dub
- ldc-beta,dub
- dmd-nightly,dub
- dmd-beta,dub
packages:
- pkg-config
env:
- ARCH="x86_64"
matrix:
include:
- {os: linux, d: ldc,dub, env: ARCH="x86", addons: {apt: {packages: [[gcc-multilib]]}}}
- {os: linux, d: dmd,dub, env: ARCH="x86", addons: {apt: {packages: [[gcc-multilib]]}}}
allow_failures:
- {d: dmd-nightly,dub}
- {d: ldc-beta,dub}
branches:
only:
- master
script:
- dub test --arch "$ARCH" -c minimal
- dub test --arch "$ARCH" -c extended
- dub build --root=examples/flex_plot
# - dub build --root=examples/flex_plot/flex_common_pack
# - if [ ! -z ${BUILDKITE} ]; then meson build -D with_test=true && cd build && ninja -j4 && ninja test -v && cd ..; fi
# build_script:
# - echo dummy build script - dont remove me
#- sed 's/"to_be_filled"/"Flex_logging", "Flex_logging_hex"/' -i dub.json
# For now only python 3.4 is supported with pyd
# - sed 's/python35/python34/' -i examples/flex_plot.d
# - sed 's/python35/python34/' -i examples/flex_plot/flex_common_pack/dub.json
# install:
# - pyenv global system 3.7
# - pip3 install 'meson>=0.45'
# - 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