From 13b314bf907bf4d7f76f93254dc2d5bea94dbccb Mon Sep 17 00:00:00 2001 From: Ignacio BurgueƱo Date: Tue, 14 Apr 2015 22:24:23 -0300 Subject: Adds travis integration --- .travis/platform.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .travis/platform.sh (limited to '.travis/platform.sh') 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 -- cgit v1.2.3-54-g00ecf