summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 5673e2fea258a30157fa28e525d4a066bc1090f6 (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
os:
 - osx

language: c
compiler:
  - clang

git:
  submodules: false

notifications:
  email:
    on_success: change
    on_failure: always


before_install:
  - if [[ "$TRAVIS_OS_NAME" = "osx" ]]; then
        brew update;
        for pkg in openssl autoconf automake autogen libtool nettle p11-kit libtasn1 gettext;do
          brew install $pkg || true;
        done;
        for pkg in nettle wget p11-kit libtasn1;do
          brew upgrade $pkg || true;
        done;
    fi

script:
  - PATH=/usr/local/opt/gettext/bin:$PATH ./bootstrap
  - PATH=/usr/local/opt/gettext/bin:$PATH ./configure --disable-full-test-suite --disable-valgrind-tests --disable-doc --disable-guile --disable-dependency-tracking
  - make -j$(sysctl -n hw.ncpu)
  - make -j$(sysctl -n hw.ncpu) check gl_public_submodule_commit=

after_failure:
  - find . -name 'test-suite.log' -execdir grep -il "FAILED" {} \; -exec echo {} \; -exec cat {} \;
  - for i in tests/*.log fuzz/*.log;do echo "" && echo $i && cat $i;done