summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 454856d4184293a0f5da2c77f80c12abd18f2bc8 (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
language: c

os:
    - linux
    - osx

compiler:
    - clang
    - gcc

env:
    - LIBRE=re-0.5.0 LIBREM=rem-0.5.0

sudo: require

addons:
    apt:
        packages:
            libssl-dev

install:
    - curl "http://www.creytiv.com/pub/${LIBRE}.tar.gz" | tar xzf -
    - curl "http://www.creytiv.com/pub/${LIBREM}.tar.gz" | tar xzf -
    - curl -OL 'https://github.com/alfredh/pytools/raw/master/ccheck.py'
    - for p in ${LIBRE} ${LIBREM}; do cd $p && sudo PATH="$PATH" make install && cd - && sudo rm -Rf $p; done
    - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo ldconfig; fi

script: 
    - make V=1 CCACHE= info test
    - python2 ccheck.py