Interface with travis-ci

This commit is contained in:
Rodolphe Breard 2017-12-16 22:05:51 +01:00
parent c64a2307cc
commit b3fe9ab123
2 changed files with 40 additions and 0 deletions

29
.travis.yml Normal file
View file

@ -0,0 +1,29 @@
language: python
python:
- "3.3"
- "3.4"
- "3.5"
- "3.5-dev"
- "3.6"
- "3.6-dev"
- "3.7-dev"
- "nightly"
- "pypy3"
script: python -m unittest discover
before_script:
- sudo apt-get update -qq
- curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable
- rustc --version
- cargo --version
- wget 'https://github.com/breard-r/libreauth/archive/v0.6.0.tar.gz' -O '/tmp/libreauth.tar.gz'
- tar -xvf '/tmp/libreauth.tar.gz'
- cd 'libreauth-0.6.0'
- make
- sudo make install
- cd ..
env:
- PATH="$HOME/.cargo/bin:$PATH"

View file

@ -4,6 +4,17 @@ Python LibreAuth
Python bindings to the LibreAuth library.
LibreAuth is a collection of tools for user authentication written in Rust.
.. image:: https://api.travis-ci.org/breard-r/py-libreauth.png
:target: https://travis-ci.org/breard-r/py-libreauth
.. image:: https://img.shields.io/pypi/v/libreauth.svg
:target: https://pypi.python.org/pypi/libreauth
.. image:: https://img.shields.io/pypi/status/libreauth.svg
.. image:: https://img.shields.io/pypi/l/libreauth.svg
:target: http://cecill.info/index.en.html
Features
--------