File: .travis.yml

package info (click to toggle)
mir-core 0.0.12-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 372 kB
  • sloc: makefile: 7; sh: 7
file content (42 lines) | stat: -rw-r--r-- 1,306 bytes parent folder | download
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
language: d
sudo: required
packages:
  - pkg-config
d:
 - gdc
 - ldc
 - ldc-beta
 - dmd-nightly
 - dmd-beta
 - dmd
branches:
  only:
    - master
env:
 - ARCH="x86_64"
matrix:
  include:
    - {os: linux, d: ldc-beta, env: ARCH="x86", addons: {apt: {packages: [[gcc-multilib]]}}}
    - {os: linux, d: ldc, env: ARCH="x86", addons: {apt: {packages: [[gcc-multilib]]}}}
    - {os: linux, d: dmd-beta, env: ARCH="x86", addons: {apt: {packages: [[gcc-multilib]]}}}
    - {os: linux, d: dmd, env: ARCH="x86", addons: {apt: {packages: [[gcc-multilib]]}}}
  allow_failures:
    - {d: dmd-nightly}
    - {d: ldc-beta}
    - {d: gdc}
install:
    - curl -L "https://github.com/ninja-build/ninja/releases/download/v1.7.2/ninja-linux.zip" -o ninja-linux.zip
    - sudo unzip ninja-linux.zip -d /usr/local/bin
    - sudo chmod 755 /usr/local/bin/ninja
    - sudo add-apt-repository -y ppa:deadsnakes/ppa
    - sudo apt-get -y update
    - sudo apt-get -y install python3.6
    - curl https://bootstrap.pypa.io/get-pip.py | sudo python3.6
    - sudo pip3 install meson
script:
 - dub test --arch "$ARCH" --build=unittest-cov
 - ./test_examples.sh
 - meson build -D with_test=true && cd build && ninja -j4 && ninja -j4 test -v && cd .. # TODO: 32bit meson test

after_success:
 - bash <(curl -s https://codecov.io/bash)