Commit e9b81eb4 authored by Otavio Rodolfo Piske's avatar Otavio Rodolfo Piske

Adjusted the build on Travis CI so that unit tests are also run

Signed-off-by: 's avatarOtavio Rodolfo Piske <opiske@redhat.com>
parent 891faf0f
......@@ -10,7 +10,8 @@ os:
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install openssl ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then apt-get update ; apt-get install -y mosquitto ; mosquitto -d ; fi
script:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then mkdir build.paho ; cd build.paho; cmake -DPAHO_WITH_SSL=TRUE -DPAHO_BUILD_DOCUMENTATION=FALSE -DPAHO_BUILD_SAMPLES=TRUE .. ; make ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then make ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then mkdir build.paho ; cd build.paho; cmake -DPAHO_WITH_SSL=TRUE -DPAHO_BUILD_DOCUMENTATION=FALSE -DPAHO_BUILD_SAMPLES=TRUE .. ; ctest -VV ; fi
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