forked from dlang-community/libdparse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
44 lines (40 loc) · 1.06 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
dist: xenial
sudo: false
language: d
d:
- dmd
- dmd-2.075.0
- ldc
branches:
only:
- master
matrix:
include:
d: dmd-2.078.2
env: [DEPLOY=1]
# ddox dependencies (can be removed after 0.8.3 has been released)
addons:
apt:
packages:
- pkg-config
- libevent-dev
install:
- sudo apt-get install python3-pip python3-setuptools libxml2-utils
- pip3 install 'meson==0.48.2'
- 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:
# note: for dlang project tester, which doesn't clone automatically
#
# Meson tests are disabled for now because old dependencies caused builds to fail
#- meson build && ninja -j8 -C build
#- ninja -j8 -C build test -v
- git submodule update --init --recursive
#
- cd test && ./run_tests.sh && cd ..
- find test/coverage -type f -exec mv {} . \;
after_success:
- bash <(curl -s https://codecov.io/bash)