aboutsummaryrefslogtreecommitdiff
path: root/.travis/platform.sh
diff options
context:
space:
mode:
authorAlexey Melnichuk <mimir@newmail.ru>2014-08-14 09:36:58 +0500
committerAlexey Melnichuk <mimir@newmail.ru>2014-08-14 09:41:04 +0500
commitc0552d59a4b82b7ee8cfaf0c08e1b7416fea61d1 (patch)
tree14b3a0e39f2ed0414f271e8246bb9d6f37d3e6ef /.travis/platform.sh
parentebe20b66f095c8f89a5c1d16c5bd3cc98dad29ee (diff)
downloadluafilesystem-c0552d59a4b82b7ee8cfaf0c08e1b7416fea61d1.tar.gz
luafilesystem-c0552d59a4b82b7ee8cfaf0c08e1b7416fea61d1.tar.bz2
luafilesystem-c0552d59a4b82b7ee8cfaf0c08e1b7416fea61d1.zip
Add. Travis files.
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..4a3af0d
--- /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