Lines Matching +full:conan +full:- +full:osx
10 - $HOME/third-party
17 - cmake
18 - openssl
19 - libssl-dev
21 - kubuntu-backports
25 - if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
28 wget https://cmake.org/files/v3.7/cmake-3.7.2-Linux-x86_64.sh --no-check-certificate;
29 chmod +x cmake-3.7.2-Linux-x86_64.sh;
30 ./cmake-3.7.2-Linux-x86_64.sh --prefix=$HOME/usr --exclude-subdir --skip-license;
32 - cmake --version
36 - if [ "${BUILD_TYPE}" == "Coverage" -a "${TRAVIS_OS_NAME}" == "linux" ]; then
38 pip install --user --upgrade pip;
39 pip install --user cpp-coveralls;
43 # Add an IPv6 config - see the corresponding Travis issue
44 # https://github.com/travis-ci/travis-ci/issues/8361
45 - if [ "${ENABLE_IPV6}" == "YES" -a "${TRAVIS_OS_NAME}" == "linux" ]; then
47 sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6';
50 - uname -a
51 - if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
52 lsb_release -a;
55 - ifconfig
56 - pwd
57 - ls -la
58 - if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
59 apt-cache search gcc | grep "GNU C compiler";
60 apt-cache search clang | grep compiler;
62 …- if [[ "${BUILD_TYPE}" == "OSX_OPENSSL_1_1" ]]; then HOMEBREW_NO_AUTO_UPDATE=1 brew install opens…
64 - mkdir output
65 - gcc unittest/cgi_test.c -o output/cgi_test.cgi
66 - cd output
67 - cmake --version
68 - cmake
69 -G "Unix Makefiles"
70 -DCMAKE_BUILD_TYPE=${BUILD_TYPE}
71 -DBUILD_SHARED_LIBS=${BUILD_SHARED}
72 "-DCIVETWEB_THIRD_PARTY_DIR=${HOME}/third-party"
73 -DCIVETWEB_ENABLE_THIRD_PARTY_OUTPUT=YES
74 -DCIVETWEB_ENABLE_SSL=${ENABLE_SSL}
75 -DCIVETWEB_DISABLE_CGI=${NO_CGI}
76 -DCIVETWEB_SERVE_NO_FILES=${NO_FILES}
77 -DCIVETWEB_ENABLE_SSL_DYNAMIC_LOADING=${ENABLE_SSL_DYNAMIC_LOADING}
78 -DCIVETWEB_SSL_OPENSSL_API_1_1=${OPENSSL_1_1}
79 -DCIVETWEB_ENABLE_WEBSOCKETS=${ENABLE_WEBSOCKETS}
80 -DCIVETWEB_ENABLE_CXX=${ENABLE_CXX}
81 -DCIVETWEB_ENABLE_SERVER_STATS=${ENABLE_SERVER_STATS}
82 -DCIVETWEB_ENABLE_LUA=${ENABLE_LUA}
83 -DCIVETWEB_ENABLE_LUA_SHARED=${ENABLE_LUA_SHARED}
84 -DCIVETWEB_ENABLE_DUKTAPE=${ENABLE_DUKTAPE}
85 -DCIVETWEB_DISABLE_CACHING=${NO_CACHING}
86 -DCIVETWEB_C_STANDARD=${C_STANDARD}
87 -DCIVETWEB_CXX_STANDARD=${CXX_STANDARD}
88 -DCIVETWEB_ALLOW_WARNINGS=${ALLOW_WARNINGS}
89 -DCIVETWEB_ENABLE_IPV6=${ENABLE_IPV6}
92 - ls -la
95 # https://github.com/travis-ci/travis-ci/issues/8711
96 # https://github.com/travis-ci/travis-ci/issues/8361
100 - if [ "${MACOSX_PACKAGE}" == "1" ]; then
102 make -f Makefile.osx package;
106 - pwd
107 - ls -la unittest
108 - echo "Show all test logs:"
109 - if [ "${MACOSX_PACKAGE}" != "1" ]; then
110 for f in unittest/test-*.log; do printf "\n$f:\n"; cat $f; done;
111 for f in unittest/test-*.xml; do printf "\n$f:\n"; cat $f; done;
113 - echo "Build and test script DONE"
115 # Coveralls options: https://github.com/eddyxu/cpp-coveralls/blob/master/README.md
117 - if [ "${BUILD_TYPE}" == "Coverage" -a "${TRAVIS_OS_NAME}" == "linux" ]; then
118 …coveralls --include src --exclude src/main.c --exclude src/third_party --include include --gcov-op…
119 bash <(curl -s https://codecov.io/bash);
122 conan-linux: &conan-linux
128 - docker
131 - true
133 - ./conan/travis/install.sh
135 - true
137 - ./conan/travis/build.sh
139 - true
141 conan-osx: &conan-osx anchor
142 os: osx
146 - true
148 - ./conan/travis/install.sh
150 - true
152 - ./conan/travis/build.sh
154 - true
166 - dist: trusty
173 - ubuntu-toolchain-r-test
174 - llvm-toolchain-precise-3.8
176 - clang-3.8
179 N=Clang3.8-Linux-Minimal-Debug
180 MATRIX_EVAL="CC=clang-3.8 && CXX=clang++-3.8"
200 - dist: trusty
207 - ubuntu-toolchain-r-test
208 - llvm-toolchain-precise-3.8
210 - clang-3.8
213 N=Clang3.8-Linux-Default-Release
214 MATRIX_EVAL="CC=clang-3.8 && CXX=clang++-3.8"
235 - dist: trusty
242 - ubuntu-toolchain-r-test
243 - llvm-toolchain-precise-3.8
245 - clang-3.8
248 N=Clang3.8-Linux-Default-Release
249 MATRIX_EVAL="CC=clang-3.8 && CXX=clang++-3.8"
269 - dist: trusty
276 - ubuntu-toolchain-r-test
277 - llvm-toolchain-precise-3.8
279 - clang-3.8
282 N=Clang3.8-Linux-Complete-NoLua-Release
283 MATRIX_EVAL="CC=clang-3.8 && CXX=clang++-3.8"
304 - dist: trusty
311 - ubuntu-toolchain-r-test
313 - g++-5
316 N=GCC5-Linux-Complete-NoLua-Release
317 MATRIX_EVAL="CC=gcc-5 && CXX=g++-5"
337 - os: linux
342 N=GCCAnyVersion-Linux-Coverage
362 - os: osx
367 N=Clang-OSX-Complete-NoLua-Release
387 -
388 os: osx
393 N=Clang-OSX-Complete-NoLua-Release-OpenSSL_1_1_NoDynLoad
413 LDFLAGS="-L${OPENSSL_ROOT_DIR}/lib"
414 CFLAGS="-I${OPENSSL_ROOT_DIR}/include"
415 ADDITIONAL_CMAKE_ARGS="-DCMAKE_SHARED_LINKER_FLAGS=${LDFLAGS} -DCMAKE_C_FLAGS=${CFLAGS}"
419 - dist: trusty
426 - ubuntu-toolchain-r-test
427 - llvm-toolchain-trusty-5.0
429 - clang-5.0
432 N=Clang50-Linux-Default-Shared
451 MATRIX_EVAL="CC=clang-5.0 && CXX=clang++-5.0"
453 -
460 N=Precise-Clang-Linux-Default
480 -
481 os: osx
486 N=OSX-Package
507 - dist: trusty
514 - ubuntu-toolchain-r-test
515 - llvm-toolchain-trusty-3.8
517 - clang-3.8
520 N=Clang-Linux-32bit-Complete-NoLua-Release
540 MATRIX_EVAL="CC=clang-3.8 && CXX=clang++-3.8"
547 -
571 MATRIX_EVAL="CC=clang-3.8 && CXX=clang++-3.8"
573 -
597 -
621 -
645 -
669 -
674 N=Clang3.8-Linux-Complete-NoLua-Debug
675 MATRIX_EVAL="CC=clang-3.8 && CXX=clang++-3.8"
695 - dist: trusty
702 - ubuntu-toolchain-r-test
703 - llvm-toolchain-trusty-5.0
705 - clang-5.0
708 N=Clang5.0-Linux-Complete-CXX-NoLua-Release
709 MATRIX_EVAL="CC=clang-5.0 && CXX=clang++-5.0"
729 -
754 - <<: *conan-linux
756 - <<: *conan-linux
758 - <<: *conan-linux
760 - <<: *conan-linux
762 - <<: *conan-linux
764 - <<: *conan-linux
766 - <<: *conan-linux
768 - <<: *conan-linux
770 - <<: *conan-linux
772 - <<: *conan-osx
775 - <<: *conan-osx
778 - <<: *conan-osx
781 - <<: *conan-osx
787 # - dist: trusty
794 # - ubuntu-toolchain-r-test
795 # - llvm-toolchain-precise-3.8
797 # - clang-3.8
798 # - lua5.2
801 # N=Clang3.8-Linux-Complete-WithLua-Debug
802 # MATRIX_EVAL="CC=clang-3.8 && CXX=clang++-3.8"