language: none

build:
  pre_ci_boot:
    image_name: ubuntu
    image_tag: bionic
    pull: true
  ci:
    - apt-get install -qq build-essential expect
    - ./prepare-release travis-ci
    - mkdir build
    - ( cd build && cmake -DWITH_CURL=OFF .. )
    - make -C build -j 4
    - rm -f /etc/dpkg/dpkg.cfg.d/excludes
    - CTEST_OUTPUT_ON_FAILURE=1 make -C build test
    - unbuffer ./test/integration/run-tests -q -j 4