summaryrefslogtreecommitdiffstats
path: root/src/civetweb/ci/travis/platform.sh
blob: 4a3af0d487e5f9b113a5e7c73bbcbfcfb6f05950 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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