language: python
python:
  - "3.5.2"
# - "nightly"

install:
#  - pip3 install codecov pyyaml
  - pip3 install pyyaml
script:
  - python3 -m unittest discover
#  - python3 -m doctest README.adoc
#  - coverage run --source pylibofp -m test
#after_success:
#  - if [ "$TRAVIS_PYTHON_VERSION" != "nightly" ]; then codecov; fi

before_install:
  # Install libofp from launchpad.
  - sudo add-apt-repository ppa:byllyfish/libofp-dev -y
  - sudo apt-get update -qq
  - sudo apt-get install libofp -y
  - dpkg -L libofp

# Per https://docs.travis-ci.com/user/ci-environment/#Virtualization-environments
sudo: required
dist: trusty

language: python
python:
  - "3.5.2"
# - "nightly"

install:
#  - pip3 install codecov pyyaml
  - pip3 install pyyaml
script:
  - libofp version
  - libofp jsonrpc --loglevel=info < /dev/null
  - python3 -m unittest discover
#  - python3 -m doctest README.adoc
#  - coverage run --source pylibofp -m test
#after_success:
#  - if [ "$TRAVIS_PYTHON_VERSION" != "nightly" ]; then codecov; fi

before_install:
  # Install libofp from launchpad.
  - sudo add-apt-repository ppa:byllyfish/libofp-dev -y
  - sudo apt-get update -qq
  - sudo apt-get install libofp -y
  - dpkg -L libofp

# Per https://docs.travis-ci.com/user/ci-environment/#Virtualization-environments
sudo: required
dist: trusty

Check libofp version and default log settings.
Check libofp version and default log settings.
