mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-01 02:48:05 +01:00
Travis windows.
This commit is contained in:
parent
0be10c5eb9
commit
8c1c4b6216
@ -41,3 +41,5 @@ script:
|
||||
; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./resources/scripts/.travis-install-osx.sh
|
||||
; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then ./resources/scripts/.travis-install-windows.sh
|
||||
; fi
|
@ -28,5 +28,14 @@ elif test "$TRAVIS_OS_NAME" = "linux"; then
|
||||
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 50
|
||||
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 50
|
||||
else
|
||||
echo "windowssss"
|
||||
git submodule update --init --recursive --remote
|
||||
qt_version="5.15.1"
|
||||
qt_stub="qt-$qt_version-dynamic-msvc2019-x86_64"
|
||||
qt_link="https://github.com/martinrotter/qt5-minimalistic-builds/releases/download/$qt_version/$qt_stub.7z"
|
||||
qt_output="qt.7z"
|
||||
|
||||
curl -L $qt_link --output $qt_output
|
||||
"./resources/scripts/7za/7za.exe" x $qt_output
|
||||
qt_bin=$(dirname $(readlink -f $(find ./ -name "qmake.exe")))
|
||||
export PATH="$qt_bin:$PATH"
|
||||
fi
|
6
resources/scripts/.travis-install-windows.sh
Executable file
6
resources/scripts/.travis-install-windows.sh
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo $PATH
|
||||
|
||||
# Build application.
|
||||
qmake .. "USE_WEBENGINE=$USE_WEBENGINE"
|
Loading…
Reference in New Issue
Block a user