Skip to content
Permalink
Browse files

Add ci support for macOs #126

  • Loading branch information...
DamirPorobic committed Mar 12, 2019
1 parent 7c32194 commit d319c5334838df28ae280f2c43dab8dfb07aec34
Showing with 13 additions and 0 deletions.
  1. +2 −0 .travis.yml
  2. +5 −0 ci/scripts/build.sh
  3. +6 −0 ci/scripts/setup.sh
@@ -18,6 +18,8 @@ matrix:
services: docker
- os: windows
env: BUILD_TYPE=exe
- os: osx
env: BUILD_TYPE=app

before_install:
- source ci/scripts/bootstrap.sh
@@ -19,4 +19,9 @@ elif [[ "${BUILD_TYPE}" == "exe" ]]; then
mv build/src/ksnip*.exe packageDir/ksnip.exe
windeployqt.exe packageDir/ksnip.exe
7z a ksnip-$VERSION-windows-x86_64.zip ./packageDir/*
elif [[ "${BUILD_TYPE}" == "app" ]]; then
mkdir build && cd build
cmake .. -DVERSION_SUFIX=$VERSION_SUFFIX -DBUILD_NUMBER=$BUILD_NUMBER -DCMAKE_BUILD_TYPE=Release
make
cd ../..
fi
@@ -71,4 +71,10 @@ elif [[ "${BUILD_TYPE}" == "rpm" ]]; then
sudo chown -R root:root ksnip-$VERSION_NUMBER
elif [[ "${BUILD_TYPE}" == "exe" ]]; then
source ci/scripts/exe/setup_dependencies_windows.sh
elif [[ "${BUILD_TYPE}" == "app" ]]; then
brew install qt5

export PATH="/usr/local/opt/qt/bin:$PATH"

source ci/scripts/common/setup_dependencies_linux_noSudo.sh
fi

0 comments on commit d319c53

Please sign in to comment.
You can’t perform that action at this time.