sudo: true
language: cpp
os:
- osx
compiler:
- gcc
cache:
  directories:
  - "$HOME/deps"
script:
- curl -L https://rawgit.com/InsightSoftwareConsortium/ITKPythonPackage/master/scripts/macpython-download-cache-and-build-module-wheels.sh -O
- chmod u+x macpython-download-cache-and-build-module-wheels.sh
- ./macpython-download-cache-and-build-module-wheels.sh
- tar -zcvf dist.tar.gz dist/
- curl --upload-file dist.tar.gz https://transfer.sh/dist.tar.gz

sudo: true
language: cpp
os:
- osx
compiler:
- gcc
cache:
  directories:
  - "$HOME/deps"
script:
- curl -L https://rawgit.com/InsightSoftwareConsortium/ITKPythonPackage/master/scripts/macpython-download-cache-and-build-module-wheels.sh -O
- chmod u+x macpython-download-cache-and-build-module-wheels.sh
- ./macpython-download-cache-and-build-module-wheels.sh 3.6
- tar -zcf dist.tar.gz dist/
- curl --upload-file dist.tar.gz https://transfer.sh/dist.tar.gz

Build only 3.6 python to avoid timeout.
Travis: Build only 3.6 python to avoid timeout.
