mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-04 23:17:41 +02:00
Travis CI: use mirror on Github Releases instead of MXE repository
This commit is contained in:
parent
8bbe747e8e
commit
c1138d9df7
@ -1,5 +1,15 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Install nsis for installer creation
|
||||||
|
sudo apt-get install -qq nsis ninja-build
|
||||||
|
|
||||||
|
# MXE repository was too slow for Travis far too often
|
||||||
|
wget https://github.com/vcmi/vcmi-deps-mxe/releases/download/2018-02-10/mxe-$MXE_TARGET-2018-02-10.tar
|
||||||
|
tar -xvf mxe-$MXE_TARGET-2018-02-10.tar
|
||||||
|
sudo dpkg -i mxe-*.deb
|
||||||
|
sudo apt-get install -f --yes
|
||||||
|
|
||||||
|
if false; then
|
||||||
# Add MXE repository and key
|
# Add MXE repository and key
|
||||||
echo "deb http://pkg.mxe.cc/repos/apt/debian wheezy main" \
|
echo "deb http://pkg.mxe.cc/repos/apt/debian wheezy main" \
|
||||||
| sudo tee /etc/apt/sources.list.d/mxeapt.list
|
| sudo tee /etc/apt/sources.list.d/mxeapt.list
|
||||||
@ -22,8 +32,7 @@ mxe-$MXE_TARGET-ffmpeg \
|
|||||||
mxe-$MXE_TARGET-qt \
|
mxe-$MXE_TARGET-qt \
|
||||||
mxe-$MXE_TARGET-qtbase
|
mxe-$MXE_TARGET-qtbase
|
||||||
|
|
||||||
# Install nsis for installer creation
|
fi # Disable
|
||||||
sudo apt-get install -qq nsis ninja-build
|
|
||||||
|
|
||||||
# alias for CMake
|
# alias for CMake
|
||||||
sudo mv /usr/bin/cmake /usr/bin/cmake.orig
|
sudo mv /usr/bin/cmake /usr/bin/cmake.orig
|
||||||
|
Loading…
x
Reference in New Issue
Block a user