代码拉取完成,页面将自动刷新
同步操作将从 xyt556/rasterio 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
dist: xenial
language: python
env:
global:
- PIP_WHEEL_DIR=$HOME/.cache/pip/wheels
- PIP_FIND_LINKS=file://$HOME/.cache/pip/wheels
- GDALINST=$HOME/gdalinstall
- GDALBUILD=$HOME/gdalbuild
- PROJINST=$HOME/gdalinstall
- PROJBUILD=$HOME/projbuild
jobs:
include:
- python: "3.6"
env:
GDALVERSION="2.3.3"
PROJVERSION="4.9.3"
- python: "3.6"
env:
GDALVERSION="2.4.4"
PROJVERSION="4.9.3"
- python: "3.7"
env:
GDALVERSION="2.4.4"
PROJVERSION="4.9.3"
- python: "3.8"
env:
GDALVERSION="2.4.4"
PROJVERSION="4.9.3"
- python: "3.6"
env:
GDALVERSION="3.0.4"
PROJVERSION="6.2.1"
- python: "3.7"
env:
GDALVERSION="3.0.4"
PROJVERSION="6.2.1"
- python: "3.8"
env:
GDALVERSION="3.0.4"
PROJVERSION="6.2.1"
- python: "3.8"
env:
GDALVERSION="master"
PROJVERSION="6.2.1"
allow_failures:
- env:
GDALVERSION="master"
PROJVERSION="6.2.1"
addons:
apt:
packages:
- libhdf5-serial-dev
- libgdal-dev
- libatlas-dev
- libatlas-base-dev
- gfortran
before_install:
- python -m pip install -U pip
- python -m pip install wheel
- export PATH=$GDALINST/gdal-$GDALVERSION/bin:$PATH
- export LD_LIBRARY_PATH=$GDALINST/gdal-$GDALVERSION/lib:$LD_LIBRARY_PATH
- . ./scripts/travis_proj_install.sh
- travis_wait 20 . ./scripts/travis_gdal_install.sh
- export GDAL_DATA=$GDALINST/gdal-$GDALVERSION/share/gdal
- export PROJ_LIB=$GDALINST/gdal-$GDALVERSION/share/proj
install:
- "if [ \"$GDALVERSION\" == \"master\" -o $(gdal-config --version) == \"$GDALVERSION\" ]; then echo \"Using gdal $GDALVERSION\"; else echo \"NOT using gdal $GDALVERSION as expected; aborting\"; exit 1; fi"
- "python -m pip wheel -r requirements-dev.txt"
- "python -m pip install -r requirements-dev.txt"
- "GDAL_CONFIG=$GDALINST/gdal-$GDALVERSION/bin/gdal-config python -m pip install --no-deps --force-reinstall --no-use-pep517 -e ."
- "python -m pip install coveralls>=1.1"
- "rio --version"
- "rio --gdal-version"
- "python -m pip list"
script:
- python -m pytest -v -m "not wheel" -rxXs --cov rasterio --cov-report term-missing
after_success:
- coveralls || echo "!! intermittent coveralls failure"
cache:
directories:
- $GDALINST
- ~/.cache/pip
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。