Commit 2bee0a65 authored by Otavio Rodolfo Piske's avatar Otavio Rodolfo Piske

Start mosquitto daemon accordingly to what is used on each support Travis CI OS

Signed-off-by: 's avatarOtavio Rodolfo Piske <opiske@redhat.com>
parent 80879f1a
...@@ -10,8 +10,8 @@ os: ...@@ -10,8 +10,8 @@ os:
- osx - osx
before_install: before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install openssl mosquitto ; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install openssl mosquitto ; brew services start mosquitto ; fi
- mosquitto -d - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then mosquitto -d ; fi
script: script:
- mkdir build.paho ; cd build.paho; cmake -DPAHO_WITH_SSL=TRUE -DPAHO_BUILD_DOCUMENTATION=FALSE -DPAHO_BUILD_SAMPLES=TRUE .. ; make ; ctest -VV - mkdir build.paho ; cd build.paho; cmake -DPAHO_WITH_SSL=TRUE -DPAHO_BUILD_DOCUMENTATION=FALSE -DPAHO_BUILD_SAMPLES=TRUE .. ; make ; ctest -VV
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment