summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 76a7adc6eec5d93bbf87f7d0610eacc55d30e971 (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
34
35
36
37
38
39
language: c

os:
  - linux
  - osx

compiler:
  - gcc
  - clang

install:
  - git fetch --unshallow --tags # t/porting/cmp_version.t

env:
    global:
        - JOBS=4
    matrix:
        - CONFIGURE_ARGS='-Uusethreads'
        - CONFIGURE_ARGS='-Dusethreads'

matrix:
  exclude:
  - compiler: clang
    os: linux
  - compiler: gcc
    os: osx

script:
  - ./Configure -des -Dusedevel -Uversiononly -Dcc=$CC $CONFIGURE_ARGS -Dprefix=$HOME/perl-blead -DDEBUGGING && TEST_JOBS=$JOBS make -j$JOBS test_harness_notty && make -j$JOBS install && $HOME/perl-blead/bin/perlivp

addons:
    apt:
        packages:
            - file
            - cpio
            - libdb-dev
            - libgdbm-dev
            - zlib1g-dev
            - libbz2-dev