1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-02-01 11:15:13 +01:00

Add checks ensuring CI scripts only run on CI

This commit is contained in:
Michał Janiszewski
2016-10-21 17:08:16 +02:00
committed by GitHub
parent 2aac1dd4e3
commit c26b5ec2b8
3 changed files with 22 additions and 0 deletions

View File

@@ -2,6 +2,14 @@
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/orcalibs
sudo rm -rf /usr/local/cross-tools/orctlibs