diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..9c3be96 --- /dev/null +++ b/.travis.yml @@ -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" diff --git a/README.rst b/README.rst index e002509..7a8919f 100644 --- a/README.rst +++ b/README.rst @@ -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 --------