|
|
@ -11,7 +11,6 @@ compiler:
|
|
|
|
- clang
|
|
|
|
- clang
|
|
|
|
|
|
|
|
|
|
|
|
before_install:
|
|
|
|
before_install:
|
|
|
|
- 'if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export CFLAGS="-I/usr/local/opt/openssl/include $CFLAGS" LDFLAGS="-L/usr/local/opt/openssl/lib $LDFLAGS"; fi'
|
|
|
|
|
|
|
|
- |
|
|
|
|
- |
|
|
|
|
if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
|
|
|
|
if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
|
|
|
|
CMAKE_URL="http://www.cmake.org/files/v3.7/cmake-3.7.2-Linux-x86_64.tar.gz"
|
|
|
|
CMAKE_URL="http://www.cmake.org/files/v3.7/cmake-3.7.2-Linux-x86_64.tar.gz"
|
|
|
@ -23,7 +22,7 @@ before_install:
|
|
|
|
script:
|
|
|
|
script:
|
|
|
|
- mkdir build
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
|
|
|
- cd build
|
|
|
|
- cmake ..
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then cmake .. -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl; else cmake ..; fi
|
|
|
|
- cmake --build .
|
|
|
|
- cmake --build .
|
|
|
|
- ctest --output-on-failure
|
|
|
|
- ctest --output-on-failure
|
|
|
|
|
|
|
|
|
|
|
|