1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-21 23:03:04 +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,13 @@
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
mkdir -p $cachedir