File tree Expand file tree Collapse file tree 6 files changed +29
-6
lines changed
Expand file tree Collapse file tree 6 files changed +29
-6
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,11 @@ matrix:
7373 - VENV=venv
7474 - os : osx
7575 env :
76- - PYTHON_VERSION=3.6
76+ - PYTHON_VERSION=3.7
77+ - VENV=venv
78+ - os : osx
79+ env :
80+ - PYTHON_VERSION=3.7
7781 - VENV=venv
7882 - USE_CCACHE=1
7983 - os : osx
@@ -114,6 +118,10 @@ matrix:
114118 - VENV=venv
115119 # Default OSX (xcode image) is 10.12 (xcode 8.3.3) as of 2018-03-29
116120 # See: https://docs.travis-ci.com/user/reference/osx/
121+ - os : osx
122+ osx_image : xcode9.4
123+ env :
124+ - PYTHON_VERSION=3.5
117125 - os : osx
118126 osx_image : xcode9.3
119127 env :
Original file line number Diff line number Diff line change @@ -299,6 +299,12 @@ function get_platform {
299299 python -c ' import platform; print(platform.uname()[4])'
300300}
301301
302+ function get_distutils_platform {
303+ # Report platform as given by distutils get_platform.
304+ # This is the platform tag that pip will use.
305+ python -c " import distutils.util; print(distutils.util.get_platform())"
306+ }
307+
302308function install_wheel {
303309 # Install test dependencies and built wheel
304310 #
Original file line number Diff line number Diff line change @@ -225,7 +225,7 @@ function build_hdf5 {
225225 build_zlib
226226 # libaec is a drop-in replacement for szip
227227 build_libaec
228- local hdf5_url=https://www .hdfgroup.org/ftp/HDF5/releases
228+ local hdf5_url=https://support .hdfgroup.org/ftp/HDF5/releases
229229 local short=$( echo $HDF5_VERSION | awk -F " ." ' {printf "%d.%d", $1, $2}' )
230230 fetch_unpack $hdf5_url /hdf5-$short /hdf5-$HDF5_VERSION /src/hdf5-$HDF5_VERSION .tar.gz
231231 (cd hdf5-$HDF5_VERSION \
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ GET_PIP_URL=https://bootstrap.pypa.io/get-pip.py
1212DOWNLOADS_SDIR=downloads
1313WORKING_SDIR=working
1414
15- # As of 1 May 2018 - latest Python of each version with binary download
15+ # As of 28 June 2018 - latest Python of each version with binary download
1616# available.
1717# See: https://www.python.org/downloads/mac-osx/
1818LATEST_2p7=2.7.15
@@ -21,7 +21,8 @@ LATEST_3p2=3.2.5
2121LATEST_3p3=3.3.5
2222LATEST_3p4=3.4.4
2323LATEST_3p5=3.5.4
24- LATEST_3p6=3.6.5
24+ LATEST_3p6=3.6.6
25+ LATEST_3p7=3.7.0
2526
2627
2728function check_python {
@@ -80,7 +81,9 @@ function fill_pyver {
8081 echo $LATEST_2p7
8182 elif [ $ver == " 2.6" ]; then
8283 echo $LATEST_2p6
83- elif [ $ver == 3 ] || [ $ver == " 3.6" ]; then
84+ elif [ $ver == 3 ] || [ $ver == " 3.7" ]; then
85+ echo $LATEST_3p7
86+ elif [ $ver == " 3.6" ]; then
8487 echo $LATEST_3p6
8588 elif [ $ver == " 3.5" ]; then
8689 echo $LATEST_3p5
Original file line number Diff line number Diff line change @@ -88,3 +88,7 @@ set_opts $ORIG_OPTS
8888
8989# On Linux docker containers in travis, can only be x86_64 or i686
9090[ " $( get_platform) " == x86_64 ] || [ " $( get_platform) " == i686 ] || exit 1
91+
92+ # Crudest possible check for get_distutils_platform
93+ expected=$( python -c " import distutils.util as du; print(du.get_platform())" )
94+ [ " $( get_distutils_platform) " == " $expected " ] || ingest " bad distutils platform"
Original file line number Diff line number Diff line change 44[ " $( fill_pyver 2.7.8) " == " 2.7.8" ] || ingest
55[ " $( fill_pyver 2.6) " == $LATEST_2p6 ] || ingest
66[ " $( fill_pyver 2.6.2) " == " 2.6.2" ] || ingest
7- [ " $( fill_pyver 3) " == $LATEST_3p6 ] || ingest
7+ [ " $( fill_pyver 3) " == $LATEST_3p7 ] || ingest
8+ [ " $( fill_pyver 3.7.0) " == " 3.7.0" ] || ingest
9+ [ " $( fill_pyver 3.7) " == $LATEST_3p7 ] || ingest
810[ " $( fill_pyver 3.6) " == $LATEST_3p6 ] || ingest
911[ " $( fill_pyver 3.6.0) " == " 3.6.0" ] || ingest
1012[ " $( fill_pyver 3.5) " == $LATEST_3p5 ] || ingest
You can’t perform that action at this time.
0 commit comments