language: c

matrix:
  include:
    - os: linux

before_install:
  - pip install --user cpp-coveralls

addons:
  apt:
    packages:
    - libarchive-dev
    - libjudy-dev
    - pkg-config

script:
  - ./waf configure
  - ./waf build
  - ./waf test
  - ./waf test_cli

after_success:
  - COV=$(python -c 'import site; print "%s/bin/" % site.USER_BASE'); $COV/coveralls --include src --build-root build/test/

language: c

matrix:
  include:
    - os: linux
    - os: osx

before_install:
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install libarchive homebrew/boneyard/judy; fi
  - pip install --user cpp-coveralls

addons:
  apt:
    packages:
    - libarchive-dev
    - libjudy-dev
    - pkg-config

script:
  - ./waf configure
  - ./waf build
  - ./waf test
  - ./waf test_cli

after_success:
  - COV=$(python -c 'import site; print "%s/bin/" % site.USER_BASE'); $COV/coveralls --include src --build-root build/test/

Revert "remove OS X from Travis temporarily since 'brew install judy' fails"
Revert "remove OS X from Travis temporarily since 'brew install judy' fails"

This reverts commit bfc76d8601f8d2ee3b28c9dbca62d80ba3c10714.
