Advertisement
Guest User

Travis sc fixes

a guest
Apr 19th, 2019
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CMake 2.49 KB | None | 0 0
  1. diff --git a/.travis.yml b/.travis.yml
  2. index c0d63001..642ac913 100644
  3. --- a/.travis.yml
  4. +++ b/.travis.yml
  5. @@ -8,16 +8,16 @@ os:
  6.    - osx
  7.  
  8.  env:
  9. -  - TARGET=linux64 ENABLE_WEBENGINE=OFF
  10. -  - TARGET=linux64 ENABLE_WEBENGINE=ON
  11. +  - TARGET=linux64 ENABLE_WEBKIT=OFF
  12. +  - TARGET=linux64 ENABLE_WEBKIT=ON
  13.    - TARGET=macos64 ENABLE_WEBENGINE=OFF
  14.    - TARGET=macos64 ENABLE_WEBENGINE=ON
  15.  
  16.  matrix:
  17.    exclude:
  18. -    - env: TARGET=linux64 ENABLE_WEBENGINE=OFF
  19. +    - env: TARGET=linux64 ENABLE_WEBKIT=OFF
  20.        os: osx
  21. -    - env: TARGET=linux64 ENABLE_WEBENGINE=ON
  22. +    - env: TARGET=linux64 ENABLE_WEBKIT=ON
  23.        os: osx
  24.      - env: TARGET=macos64 ENABLE_WEBENGINE=OFF
  25.        os: linux
  26. diff --git a/mac/build-using-homebrew.sh b/mac/build-using-homebrew.sh
  27. index 069053be..f0577abe 100755
  28. --- a/mac/build-using-homebrew.sh
  29. +++ b/mac/build-using-homebrew.sh
  30. @@ -50,13 +50,13 @@ TOOLCHAIN_FILE="${CUR_DIR}/homebrew-toolchain.cmake"
  31.      ENABLE_PLUGINS="ON" || \
  32.      ENABLE_PLUGINS="OFF"
  33.  
  34. -[ -z "${ENABLE_WEBENGINE}" ] && ENABLE_WEBENGINE="OFF"
  35. +[ -z "${ENABLE_WEBENGINE}" ] && \
  36. +     CHAT_TYPE="basic" || \
  37. +     CHAT_TYPE="webengine"
  38.  
  39.  BUILD_OPTIONS="-DCMAKE_BUILD_TYPE=Release \
  40.                -DENABLE_PLUGINS=${ENABLE_PLUGINS} \
  41. -               -DENABLE_WEBKIT=${ENABLE_WEBENGINE} \
  42. -               -DUSE_WEBENGINE=${ENABLE_WEBENGINE} \
  43. -               -DUSE_WEBKIT=OFF \
  44. +               -DCHAT_TYPE=${CHAT_TYPE} \
  45.                -DUSE_HUNSPELL=ON \
  46.                -DUSE_KEYCHAIN=ON \
  47.                -DUSE_SPARKLE=OFF \
  48. diff --git a/tests/travis-ci/build-in-ubuntu.sh b/tests/travis-ci/build-in-ubuntu.sh
  49. index 21dbe530..90020c67 100755
  50. --- a/tests/travis-ci/build-in-ubuntu.sh
  51. +++ b/tests/travis-ci/build-in-ubuntu.sh
  52. @@ -17,16 +17,14 @@ LDFLAGS="$(dpkg-buildflags --get LDFLAGS) -Wl,--as-needed"
  53.     ENABLE_PLUGINS="ON" || \
  54.     ENABLE_PLUGINS="OFF"
  55.  
  56. -[ "${WITHOUT_WEBKIT}" = "true" ] && \
  57. -    ENABLE_WEBKIT="OFF" || \
  58. -    ENABLE_WEBKIT="ON"
  59. +[ "${ENABLE_WEBKIT}" = "true" ] && \
  60. +    CHAT_TYPE="basic" || \
  61. +    CHAT_TYPE="webkit"
  62.  
  63. BUILD_OPTIONS="-DCMAKE_INSTALL_PREFIX=/usr \
  64.                 -DCMAKE_BUILD_TYPE=Release \
  65.                 -DENABLE_PLUGINS=${ENABLE_PLUGINS} \
  66. -               -DENABLE_WEBKIT=${ENABLE_WEBKIT} \
  67. -               -DUSE_WEBKIT=${ENABLE_WEBKIT} \
  68. -               -DUSE_WEBENGINE=OFF \
  69. +               -DCHAT_TYPE=${CHAT_TYPE} \
  70.                 -DUSE_HUNSPELL=ON \
  71.                 -DUSE_KEYCHAIN=ON \
  72.                 -DUSE_SPARKLE=OFF \
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement