| 1 | #!/bin/sh |
| 2 | |
| 3 | # get Py3 because it's not present in any OSX image on Travis |
| 4 | if [ "$TRAVIS_OS_NAME" = "osx" ] |
| 5 | then |
| 6 | pyftp=https://www.python.org/ftp/python/3.5.4/ |
| 7 | py3pkg=python-3.5.4rc1-macosx10.6.pkg |
| 8 | |
| 9 | if [ "$PY" = "3" ] |
| 10 | then |
| 11 | curl -O -L $pyftp$py3pkg |
| 12 | sudo installer -package $py3pkg -target / |
| 13 | fi |
| 14 | fi |