diff options
author | Ignacio Burgueño <ignaciob@inconcertcc.com> | 2015-04-14 22:24:23 -0300 |
---|---|---|
committer | Ignacio Burgueño <ignaciob@inconcertcc.com> | 2015-04-14 22:24:23 -0300 |
commit | 13b314bf907bf4d7f76f93254dc2d5bea94dbccb (patch) | |
tree | 8be0fffe09200e597a879c79ffad4bec06410fda /.travis/platform.sh | |
parent | d5942f76be9be2815857fa90c8f7fd27b46e43d0 (diff) | |
download | valua-13b314bf907bf4d7f76f93254dc2d5bea94dbccb.tar.gz valua-13b314bf907bf4d7f76f93254dc2d5bea94dbccb.tar.bz2 valua-13b314bf907bf4d7f76f93254dc2d5bea94dbccb.zip |
Adds travis integration
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..7259a7d --- /dev/null +++ b/.travis/platform.sh @@ -0,0 +1,15 @@ +if [ -z "${PLATFORM:-}" ]; then + PLATFORM=$TRAVIS_OS_NAME; +fi + +if [ "$PLATFORM" == "osx" ]; then + PLATFORM="macosx"; +fi + +if [ -z "$PLATFORM" ]; then + if [ "$(uname)" == "Linux" ]; then + PLATFORM="linux"; + else + PLATFORM="macosx"; + fi; +fi |