~javiljoen/lttb-numpy

c30defedcd7a1e0b901d43811fcfd23d6e27fc41 — JA Viljoen 2 years ago fcde4eb
Replace Travis CI with builds.sr.ht script
3 files changed, 24 insertions(+), 19 deletions(-)

A .build.yml
D .travis.yml
M README.rst
A .build.yml => .build.yml +21 -0
@@ 0,0 1,21 @@
image: debian/stable
packages:
  - python-numpy
  - python-setuptools
  - python-pytest
  - python-hypothesis
  - python3-numpy
  - python3-setuptools
  - python3-pytest
  - python3-hypothesis
sources:
  - https://git.sr.ht/~javiljoen/lttb-numpy
tasks:
  - testpy2: |
      cd lttb-numpy
      python2 setup.py install --user --quiet
      python2 -m pytest
  - testpy3: |
      cd lttb-numpy
      python3 setup.py install --user --quiet
      python3 -m pytest

D .travis.yml => .travis.yml +0 -17
@@ 1,17 0,0 @@
language: python
python:
  - "2.7"
  - "3.5"
  - "3.8"

cache:
  directories:
  - "$HOME/.cache/pip"

install:
  - pip install -U pip
  - pip install --ignore-installed pytest hypothesis
  - pip install .

script:
  - pytest

M README.rst => README.rst +3 -2
@@ 121,5 121,6 @@ Contributors
.. |pypi| image:: https://img.shields.io/pypi/v/lttb?color=blue
   :target: https://pypi.org/project/lttb/

.. |ci| image:: https://travis-ci.com/javiljoen/lttb.py.svg?branch=master
   :target: https://travis-ci.com/javiljoen/lttb.py
.. |ci| image:: https://builds.sr.ht/~javiljoen/lttb-numpy.svg
   :alt: builds.sr.ht status
   :target: https://builds.sr.ht/~javiljoen/lttb-numpy?