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

language: c
compiler:
  - clang

git:
  submodules: false

notifications:
  email:
    on_success: change
    on_failure: always


before_install:
  - git submodule update --init
  - if [[ "$TRAVIS_OS_NAME" = "osx" ]]; then
        brew install autoconf automake autogen libtool nettle valgrind p11-kit libtasn1 gettext || true;
    fi

script:
  - PATH=/usr/local/opt/gettext/bin:$PATH make autoreconf
  - 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:
  - for i in tests/*.log fuzz/*.log;do echo "" && echo $i && cat $i;done