Files @ 5768326d7b6e
Branch filter:

Location: libtransport.git/.travis.yml

Vitaly Takmazov
cmake: cleanup configuration

* rename CMake modules to follow CMAKE_MODULE_PATH matching rules
* fix git ignore rules to not ignore CMake modules
* add CMake module to find jsoncpp without pkg-config
* drop unused/outdated modules
language: cpp
sudo: required
services:
  - docker
matrix:
  include:
    - os: linux
      dist: trusty
      sudo: required
    - os: osx
before_script:
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
      brew update;
      brew install cppunit protobuf log4cxx popt jsoncpp;
      travis_wait 30 brew install -s libswiften;
    fi
script:
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
      cmake -DCMAKE_BUILD_TYPE=Debug -DENABLE_TESTS=ON .;
      make;
      make test;
    else
      docker build . -f Dockerfile.stretch;
    fi
notifications:
  slack: spectrum2:CIlYHtxGMAaxs3qVHfwBzCuy