travis: add xcode10.1 build

Related to #1623

Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Ruslan Kuprieiev
2019-02-18 04:03:04 +02:00
parent 36510548a5
commit 3c49dfa293
2 changed files with 36 additions and 1 deletions
+17
View File
@@ -0,0 +1,17 @@
#!/bin/bash
set -e
python_ver="$(python -c 'import sys; print(sys.version_info[0])')"
if [[ $python_ver != "2" ]]; then
echo false
exit 0
fi
if [[ $TRAVIS_OS_NAME == "osx" && $TRAVIS_OSX_IMAGE != "xcode10.1" ]]; then
echo false
exit 0
fi
echo true