mirror of https://github.com/OpenRCT2/OpenRCT2.git
Add checks ensuring CI scripts only run on CI
This commit is contained in:
parent
2aac1dd4e3
commit
c26b5ec2b8
|
@ -2,6 +2,13 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
if [[ $TRAVIS != "true" ]]
|
||||||
|
then
|
||||||
|
echo This script is only meant to be run on Travis-CI.
|
||||||
|
echo Please use CMake to build the project.
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
cachedir=.cache
|
cachedir=.cache
|
||||||
mkdir -p $cachedir
|
mkdir -p $cachedir
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,14 @@
|
||||||
|
|
||||||
set -ev
|
set -ev
|
||||||
|
|
||||||
|
if [[ $TRAVIS != "true" ]]
|
||||||
|
then
|
||||||
|
echo This script is only meant to be run on Travis-CI.
|
||||||
|
echo Please use CMake to build the project.
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
sudo rm -rf /usr/local/cross-tools/i686-w64-mingw32
|
sudo rm -rf /usr/local/cross-tools/i686-w64-mingw32
|
||||||
sudo rm -rf /usr/local/cross-tools/orcalibs
|
sudo rm -rf /usr/local/cross-tools/orcalibs
|
||||||
sudo rm -rf /usr/local/cross-tools/orctlibs
|
sudo rm -rf /usr/local/cross-tools/orctlibs
|
||||||
|
|
|
@ -1,5 +1,12 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [[ $TRAVIS != "true" ]]
|
||||||
|
then
|
||||||
|
echo This script is only meant to be run on Travis-CI.
|
||||||
|
echo Please use CMake to build the project.
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
SDL2_PV=2.0.3
|
SDL2_PV=2.0.3
|
||||||
SDL2_TTF_PV=2.0.12
|
SDL2_TTF_PV=2.0.12
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue