aboutsummaryrefslogtreecommitdiff
path: root/.travis/platform.sh
diff options
context:
space:
mode:
authorOscar Lim <olim@ucla.edu>2016-05-07 13:28:29 -0700
committerOscar Lim <olim@ucla.edu>2016-05-07 13:34:03 -0700
commit61067b665311b5ae6efc56e4df90e5b348a73814 (patch)
treee451cc57a766ec7e1357fcac83f3aebb4dd43811 /.travis/platform.sh
parent67e5f4ff685bee3fa381db6f50be3506ad0b5e76 (diff)
downloadluasystem-61067b665311b5ae6efc56e4df90e5b348a73814.tar.gz
luasystem-61067b665311b5ae6efc56e4df90e5b348a73814.tar.bz2
luasystem-61067b665311b5ae6efc56e4df90e5b348a73814.zip
New travis infrastructure
Changes the travis setup and drop `sudo` in favor of the faster container-based travis infrastructure.
Diffstat (limited to '.travis/platform.sh')
-rw-r--r--.travis/platform.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/.travis/platform.sh b/.travis/platform.sh
new file mode 100644
index 0000000..7259a7d
--- /dev/null
+++ b/.travis/platform.sh
@@ -0,0 +1,15 @@
1if [ -z "${PLATFORM:-}" ]; then
2 PLATFORM=$TRAVIS_OS_NAME;
3fi
4
5if [ "$PLATFORM" == "osx" ]; then
6 PLATFORM="macosx";
7fi
8
9if [ -z "$PLATFORM" ]; then
10 if [ "$(uname)" == "Linux" ]; then
11 PLATFORM="linux";
12 else
13 PLATFORM="macosx";
14 fi;
15fi