mirror of
https://github.com/eclipse/paho.mqtt.cpp.git
synced 2025-06-04 16:34:26 +08:00
36 lines
466 B
Bash
Executable File
36 lines
466 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
|
|
|
|
if [ "$COMPILER" == "" ]; then
|
|
COMPILER=g++;
|
|
fi
|
|
|
|
make CXX=$COMPILER VERBOSE=1
|
|
sudo make install
|
|
|
|
make CXX=$COMPILER VERBOSE=1 check
|
|
|
|
make clean
|
|
sudo make uninstall
|
|
|
|
pushd test/unit
|
|
make clean
|
|
popd
|
|
|
|
make CXX=$COMPILER VERBOSE=1 SSL=0
|
|
sudo make install
|
|
|
|
make CXX=$COMPILER VERBOSE=1 SSL=0 check
|
|
|
|
make clean
|
|
sudo make uninstall
|
|
|
|
pushd test/unit
|
|
make clean
|
|
popd
|
|
|
|
fi
|