Skip to content

Commit

Permalink
Remove broken Travis-CI builds (#2661)
Browse files Browse the repository at this point in the history
* Remove broken Travis-CI builds

Remove the optional condaforge-rc, netcdf4-dev and pynio-dev builds. These
have been continuously failing (due to broken installs), so we shouldn't waste
time/energy running them.

* Install latest miniconda

* Make appveyor default to python 3 miniconda
  • Loading branch information
shoyer authored Jan 8, 2019
1 parent 6963164 commit 6795fd0
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 101 deletions.
19 changes: 1 addition & 18 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,9 @@ matrix:
- env:
- CONDA_ENV=py36
- EXTRA_FLAGS="--run-flaky --run-network-tests"
- env: CONDA_ENV=py36-netcdf4-dev
addons:
apt_packages:
- libhdf5-serial-dev
- netcdf-bin
- libnetcdf-dev
- env: CONDA_ENV=py36-dask-dev
- env: CONDA_ENV=py36-pandas-dev
- env: CONDA_ENV=py36-bottleneck-dev
- env: CONDA_ENV=py36-condaforge-rc
- env: CONDA_ENV=py36-pynio-dev
- env: CONDA_ENV=py36-rasterio
- env: CONDA_ENV=py36-zarr-dev
- env: CONDA_ENV=docs
Expand All @@ -38,25 +30,16 @@ matrix:
- env:
- CONDA_ENV=py36
- EXTRA_FLAGS="--run-flaky --run-network-tests"
- env: CONDA_ENV=py36-netcdf4-dev
addons:
apt_packages:
- libhdf5-serial-dev
- netcdf-bin
- libnetcdf-dev
- env: CONDA_ENV=py36-pandas-dev
- env: CONDA_ENV=py36-bottleneck-dev
- env: CONDA_ENV=py36-condaforge-rc
- env: CONDA_ENV=py36-pynio-dev
- env: CONDA_ENV=py36-zarr-dev

before_install:
- wget http://repo.continuum.io/miniconda/Miniconda3-3.16.0-Linux-x86_64.sh -O miniconda.sh;
- wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no --set show_channel_urls true
- conda update -q conda
- conda info -a

install:
Expand Down
8 changes: 4 additions & 4 deletions ci/install_python.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
# Authors: Olivier Grisel, Jonathan Helmus and Kyle Kastner
# License: CC0 1.0 Universal: http://creativecommons.org/publicdomain/zero/1.0/

$MINICONDA_URL = "http://repo.continuum.io/miniconda/"
$MINICONDA_URL = "https://repo.anaconda.com/miniconda/"
$BASE_URL = "https://www.python.org/ftp/python/"


function DownloadMiniconda ($python_version, $platform_suffix) {
$webclient = New-Object System.Net.WebClient
if ($python_version -match "3.6") {
$filename = "Miniconda3-latest-Windows-" + $platform_suffix + ".exe"
} else {
if ($python_version -match "2.7") {
$filename = "Miniconda2-latest-Windows-" + $platform_suffix + ".exe"
} else {
$filename = "Miniconda3-latest-Windows-" + $platform_suffix + ".exe"
}
$url = $MINICONDA_URL + $filename

Expand Down
2 changes: 1 addition & 1 deletion ci/requirements-py35.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ dependencies:
- matplotlib=1.5
- netcdf4
- pytest
- pytest-env
- pytest-cov
- pytest-env
- coveralls
- flake8
- numpy
Expand Down
2 changes: 1 addition & 1 deletion ci/requirements-py36-bottleneck-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ dependencies:
- matplotlib
- netcdf4
- pytest
- pytest-env
- pytest-cov
- pytest-env
- coveralls
- flake8
- numpy
Expand Down
23 changes: 0 additions & 23 deletions ci/requirements-py36-condaforge-rc.yml

This file was deleted.

2 changes: 1 addition & 1 deletion ci/requirements-py36-dask-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ dependencies:
- matplotlib
- netcdf4
- pytest
- pytest-env
- pytest-cov
- pytest-env
- coveralls
- flake8
- numpy
Expand Down
2 changes: 1 addition & 1 deletion ci/requirements-py36-hypothesis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ dependencies:
- matplotlib
- netcdf4
- pytest
- pytest-env
- pytest-cov
- pytest-env
- coveralls
- hypothesis
- flake8
Expand Down
23 changes: 0 additions & 23 deletions ci/requirements-py36-netcdf4-dev.yml

This file was deleted.

2 changes: 1 addition & 1 deletion ci/requirements-py36-pandas-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ dependencies:
- matplotlib
- netcdf4
- pytest
- pytest-env
- pytest-cov
- pytest-env
- coveralls
- flake8
- numpy
Expand Down
26 changes: 0 additions & 26 deletions ci/requirements-py36-pynio-dev.yml

This file was deleted.

2 changes: 1 addition & 1 deletion ci/requirements-py36-rasterio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ dependencies:
- matplotlib
- netcdf4
- pytest
- pytest-env
- pytest-cov
- pytest-env
- coveralls
- numpy
- pandas
Expand Down
2 changes: 1 addition & 1 deletion ci/requirements-py36-zarr-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ dependencies:
- distributed
- matplotlib
- pytest
- pytest-env
- pytest-cov
- pytest-env
- coveralls
- flake8
- numpy
Expand Down

0 comments on commit 6795fd0

Please sign in to comment.