diff --git a/.travis.yml b/.travis.yml index 56a1993bf..f96dce308 100644 --- a/.travis.yml +++ b/.travis.yml @@ -283,7 +283,118 @@ matrix: # python 3 osx - # - name: "klayout python3 osx10.13" + # MacOS 10.15, Python 3.9 + - name: "cp39-cp39m-macosx_10_15_x86_64.whl" + os: osx + osx_image: xcode12 # macOS 10.15 + cache: + directories: + - ccache + addons: + homebrew: + packages: + - python@3.9 + - ccache + update: true + env: + - MATRIX_EVAL="shopt -s expand_aliases; alias python='python3'; alias pip='pip3';" + - ARCHFLAGS="-std=c++11" + - PIP_UPDATE="1" + - PYTHON_BUILD=true + + # MacOS 10.15, Python 3.8 + - name: "cp38-cp38m-macosx_10_15_x86_64.whl" + os: osx + osx_image: xcode12 # macOS 10.15 + cache: + directories: + - ccache + addons: + homebrew: + packages: + - python@3.8 + - ccache + update: true + env: + - MATRIX_EVAL="shopt -s expand_aliases; alias python='python3'; alias pip='pip3';" + - ARCHFLAGS="-std=c++11" + - PIP_UPDATE="1" + - PYTHON_BUILD=true + + # MacOS 10.15, Python 3.7 + - name: "cp37-cp37m-macosx_10_15_x86_64.whl" + os: osx + osx_image: xcode12 # macOS 10.15 + cache: + directories: + - ccache + addons: + homebrew: + packages: + - python@3.7 + - ccache + update: true + env: + - MATRIX_EVAL="shopt -s expand_aliases; alias python='python3'; alias pip='pip3';" + - ARCHFLAGS="-std=c++11" + - PIP_UPDATE="1" + - PYTHON_BUILD=true + + # MacOS 10.14, Python 3.9 + - name: "cp39-cp39m-macosx_10_14_x86_64.whl" + os: osx + osx_image: xcode11 # macOS 10.14 + cache: + directories: + - ccache + addons: + homebrew: + packages: + - python@3.9 + - ccache + update: true + env: + - ARCHFLAGS="-std=c++11" + - PIP_UPDATE="1" + - PYTHON_BUILD=true + + # MacOS 10.14, Python 3.8 + - name: "cp38-cp38m-macosx_10_14_x86_64.whl" + os: osx + osx_image: xcode11 # macOS 10.14 + cache: + directories: + - ccache + addons: + homebrew: + packages: + - python@3.8 + - ccache + update: true + env: + - ARCHFLAGS="-std=c++11" + - PIP_UPDATE="1" + - PYTHON_BUILD=true + + # MacOS 10.14, Python 3.7 + - name: "cp37-cp37m-macosx_10_14_x86_64.whl" + os: osx + osx_image: xcode11 # macOS 10.14 + cache: + directories: + - ccache + addons: + homebrew: + packages: + - python@3.7 + - ccache + update: true + env: + - ARCHFLAGS="-std=c++11" + - PIP_UPDATE="1" + - PYTHON_BUILD=true + + # MacOS 10.13, Python 3.7 - name: "cp37-cp37m-macosx_10_13_x86_64.whl" os: osx osx_image: xcode9.4 # macOS 10.13 @@ -302,7 +413,7 @@ matrix: - PIP_UPDATE="1" - PYTHON_BUILD=true - # - name: "klayout python3.6.6 osx10.13" + # MacOS 10.13, Python 3.6 - name: "cp36-cp36m-macosx_10_13_x86_64.whl" os: osx osx_image: xcode9.4 # macOS 10.13 @@ -320,7 +431,7 @@ matrix: - PIP_UPDATE="1" - PYTHON_BUILD=true - # - name: "klayout python3.5.6 osx10.13" + # MacOS 10.13, Python 3.5 - name: "cp35-cp35m-macosx_10_13_x86_64.whl" os: osx osx_image: xcode9.4 # macOS 10.13 @@ -375,6 +486,8 @@ matrix: - PIP_UPDATE="1" - PYTHON_BUILD=true + # KLayout builds not enabled for now + exclude: # KLayout builds for mac # Python 3 - name: "KLayout macOS 10.13 with py3.7"