summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 026a05f26e0c901c6cffc82deb52c1d3963cbde5 (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
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 bison;do
          brew install $pkg || true;
        done;
        for pkg in nettle wget p11-kit libtasn1;do
          brew upgrade $pkg || true;
        done;
    fi

script:
  - export PATH="/usr/local/opt/gettext/bin:$PATH"
  - export PATH="/usr/local/opt/bison/bin:$PATH"
  - ./bootstrap
  - ./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) V=1
  - 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
  - cat config.log