summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 176c2a023201e383e8138db547bcbc56ba9fe04c (plain)
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
sudo: false

os:
  - linux
  - osx

language: d

d:
  - dmd-2.075.1
  - dmd-2.074.1
  - dmd-2.073.2

env: 
  matrix:
    - ARCH=x86_64
    - ARCH=x86

addons:
  apt:
    packages:
      - gcc-multilib

before_script:
  - if [ "$PS1" = '(dmd-2.075.1)' ]; then
      export UNITTEST="unittest-cov";
    fi

script:
  - dub test -b ${UNITTEST:-unittest} --arch=$ARCH --compiler=$DC

after_success:
  - test "$UNITTEST" = "unittest-cov" && bash <(curl -s https://codecov.io/bash)