diff options
author | Alexey Melnichuk <mimir@newmail.ru> | 2014-08-14 09:36:58 +0500 |
---|---|---|
committer | Alexey Melnichuk <mimir@newmail.ru> | 2014-08-14 09:41:04 +0500 |
commit | c0552d59a4b82b7ee8cfaf0c08e1b7416fea61d1 (patch) | |
tree | 14b3a0e39f2ed0414f271e8246bb9d6f37d3e6ef /.travis/platform.sh | |
parent | ebe20b66f095c8f89a5c1d16c5bd3cc98dad29ee (diff) | |
download | luafilesystem-c0552d59a4b82b7ee8cfaf0c08e1b7416fea61d1.tar.gz luafilesystem-c0552d59a4b82b7ee8cfaf0c08e1b7416fea61d1.tar.bz2 luafilesystem-c0552d59a4b82b7ee8cfaf0c08e1b7416fea61d1.zip |
Add. Travis files.
Diffstat (limited to '.travis/platform.sh')
-rw-r--r-- | .travis/platform.sh | 15 |
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 @@ | |||
1 | if [ -z "$PLATFORM" ]; then | ||
2 | PLATFORM=$TRAVIS_OS_NAME; | ||
3 | fi | ||
4 | |||
5 | if [ "$PLATFORM" == "osx" ]; then | ||
6 | PLATFORM="macosx"; | ||
7 | fi | ||
8 | |||
9 | if [ -z "$PLATFORM" ]; then | ||
10 | if [ "$(uname)" == "Linux" ]; then | ||
11 | PLATFORM="linux"; | ||
12 | else | ||
13 | PLATFORM="macosx"; | ||
14 | fi; | ||
15 | fi | ||