Unverified Commit 9fbf8ac6 authored by David Hoese's avatar David Hoese Committed by GitHub
Browse files

Cleanup documentation after change to GitHub Actions (#322)

parent c33b31bf
language: python
env:
global:
- NUMPY_VERSION=stable
- MAIN_CMD='python setup.py'
- CONDA_DEPENDENCIES='hdf5 rasterio matplotlib numba pyproj coveralls pytest pytest-mock
pytest-cov coverage pytest-qt vispy netcdf4 h5py imageio imageio-ffmpeg ffmpeg
pillow pyshp pyqtgraph shapely sqlalchemy pyqt appdirs pyyaml satpy eccodes scikit-image
donfig conda-pack'
- PIP_DEPENDENCIES='pytest-xvfb'
- SETUP_XVFB=True
- EVENT_TYPE='push pull_request'
- SETUP_CMD='test'
- CONDA_CHANNELS='conda-forge'
- CONDA_CHANNEL_PRIORITY='strict'
matrix:
include:
- env: PYTHON_VERSION=3.7
os: linux
- env: PYTHON_VERSION=3.7
os: osx
language: generic
- os: windows
env: PYTHON_VERSION=3.7
language: c
allow_failures:
- os: windows
env: PYTHON_VERSION=3.7
language: c
before_install:
- if [ ! -z $encrypted_f8c2318670e7_iv ]; then
openssl aes-256-cbc -K $encrypted_f8c2318670e7_key -iv $encrypted_f8c2318670e7_iv -in id_rsa_sift_sftp.enc -out /tmp/sftp_rsa -d;
fi
install:
- git clone --depth 1 git://github.com/astropy/ci-helpers.git
- source ci-helpers/travis/setup_conda.sh
- if [ "${TRAVIS_OS_NAME}" == "windows" ]; then
git clone --depth 1 -b feature-travis-windows git://github.com/djhoese/gl-ci-helpers.git;
powershell -Command "Set-ExecutionPolicy RemoteSigned -scope CurrentUser";
powershell gl-ci-helpers/appveyor/install_opengl.ps1;
fi;
- if [ "${TRAVIS_OS_NAME}" == "linux" ] || [ "${TRAVIS_OS_NAME}" == "osx" ]; then
conda install -y pygrib;
fi;
- pip install -e . --no-deps
before_script:
- export DISPLAY=:99.0
- if [ "${TRAVIS_OS_NAME}" == "osx" ]; then ( sudo Xvfb :99 -ac -screen 0 1400x900x24
+render +iglx; echo ok )& fi;
script:
# Tests need DirectX to run which is not available on Travis right now
- if [ "${TRAVIS_OS_NAME}" != "windows" ]; then
pytest -s --cov-report term --cov=uwsift uwsift/tests;
fi
# Reinstall SIFT *into* the environment so conda-pack can bundle it
- pip install --no-deps .
# Unstable version
- if [[ $TRAVIS_TAG == "" ]]; then
version=$(python -c "from uwsift import __version__; print(__version__)");
if [[ "${TRAVIS_OS_NAME}" == "windows" ]]; then
ext="zip";
platform="windows";
else
ext="tar.gz";
if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then
platform="darwin";
else
platform="linux";
fi;
fi;
oflag="-o SIFT_${version}dev_${platform}_$(date +%Y%m%d_%H%M%S).${ext}";
else
oflag="";
fi
- python build_conda_pack.py -j -1 $oflag
- ls -l
after_success:
- if [ $PYTHON_VERSION == "3.7" ] && [ "${TRAVIS_OS_NAME}" != "windows" ]; then coveralls; fi
- if [[ $TRAVIS_TAG == "" ]]; then
odir="experimental/";
else
odir="";
fi
# if this isn't a pull request, upload the new version
# if we made a real release, delete all experimental releases
- if [[ $TRAVIS_PULL_REQUEST_BRANCH == "" ]]; then
travis_wait curl -k --ftp-create-dirs -T SIFT_*.*.*_*.* --key /tmp/sftp_rsa sftp://sift@ftp.ssec.wisc.edu/${odir};
if [[ $TRAVIS_TAG != "" ]]; then
curl -k -l --key /tmp/sftp_rsa sftp://sift@ftp.ssec.wisc.edu/experimental/ | grep SIFT_*.*.*_*.* | xargs -I{} -- curl -k -v --key /tmp/sftp_rsa sftp://sift@ftp.ssec.wisc.edu/experimental/ -Q "RM experimental/{}";
fi;
fi
deploy:
- provider: pypi
user: __token__
password:
secure: X4kzZ61c2Vc45zMnztnQryKkWYzCNOwPCBZ6s9dFrlLw6YRwM7StwlYSREZMVV77zAVPnj8gEM1x1j6Rzl5+BL/w7zsrJpNv6uc1hR+CPysIBmnhHQPXmIcj/GakRGRL+0kDm2hB+ALVVwzI5GZC8KwHeDW/R8Fou32Vxxc13aU2eZcFupVetN664K7WP76ZLS4Ep3YVjSvlziQ0hVZmYQKE84Uvep/t74Pa82N/R+iXRddrGaLbiCgF7uOxW9sOHhkVPaWtpZS5cECCJyMQCgZaN3S5YyRrtqcx7wnBVTUes1OdkNds7HuH0Yl/VYmc5DxEDn4VpGSjYhi7sk+mcr4b3GosWXAOsRQPHr4FlmAiM3fWAQw92MvUsfA7++KEOKqyF6w3uIB8TR3UXTR9SyWg9xmBdACikXjRaO+h85NuHbXSr0Urffbdr96kM/DrsDeMjJ/oGOvhXYRr/9aoSs506FoEK+/5htBciyPLmUUMZpPUqpbMd+7/3weNIXseSj1pRx8HFKIdiH9VxQHkU3LTS01GWo0fo3mPh6GY0fQDsqajGCQqXMtecHuQ8jGKeA3QQuVYGT/BdDn5/71hH+ZqNlUlUrgU7W53xD6ppnuoewH5Vv3HlTGxOJ16gNRgzC6wLrApg5tey6Mh2GEtiyZZQMmomwUT4JGl1tjhorU=
distributions: sdist
skip_existing: true
on:
tags: true
repo: ssec/sift
......@@ -2,7 +2,7 @@
[![Coverage Status](https://coveralls.io/repos/github/ssec/sift/badge.svg)](https://coveralls.io/github/ssec/sift)
[![PyPI version](https://badge.fury.io/py/uwsift.svg)](https://badge.fury.io/py/uwsift)
[![Build Status](https://travis-ci.com/github/ssec/sift.svg?branch=master)](https://travis-ci.com/github/ssec/sift)
![CI](https://github.com/ssec/sift/actions/workflows/ci.yaml/badge.svg)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.2587907.svg)](https://doi.org/10.5281/zenodo.2587907)
[![Gitter chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/gitterHQ/gitter)
......
......@@ -29,10 +29,7 @@ See [semver.org](http://semver.org/) on how to write a version number.
6. Push changes to github `git push --follow-tags`
7. This step is no longer needed as installers are automatically built with
Travis CI and made available on ftp://ftp.ssec.wisc.edu/pub/sift/dist.
8. Create a release of the package on
7. Create a release of the package on
[github](https://github.com/ssec/sift/releases) by drafting a new release
and copying the release notes from the changelog (see above).
\ No newline at end of file
......@@ -8,14 +8,7 @@ exclude =
uwsift/ui
uwsift/tests/timeline.py
;[versioneer]
;VCS = git
;style = pep440
;versionfile_source = uwsift/version.py
;versionfile_build =
;tag_prefix = v
;[coverage:run]
;omit =
; uwsift/version.py
; versioneer.py
[coverage:run]
relative_files = True
omit =
uwsift/version.py
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment