Skip to content

Commit

Permalink
Widen requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
higherorderfunctor committed Sep 19, 2019
1 parent 983ec25 commit e5d5f0b
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 9 deletions.
42 changes: 37 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,25 @@
language: python
python:
- "3.7"
sudo: false
cache: pip

matrix:
include:
- os: linux
- name: "Python 3.7 and GCC 7"
python: "3.7"
os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
- libperl-dev
env:
- CC=gcc-7
- CXX=g++-7

- name: "Python 3.7 and GCC 8"
python: "3.7"
os: linux
addons:
apt:
sources:
Expand All @@ -17,10 +30,25 @@ matrix:
env:
- CC=gcc-8
- CXX=g++-8


- name: "Python 3.7 and Clang 5"
python: "3.7"
os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- clang-5.0
- libperl-dev
env:
- CC=clang-5.0
- CXX=clang++-5.0

before_install:
- sudo ln -s "/usr/bin/${CC}" /usr/local/bin/gcc
- sudo ln -s "/usr/bin/${CXX}" /usr/local/bin/g++
- gcc -v && g++ -v && cmake --version
- wget https://dl.bintray.com/boostorg/release/1.70.0/source/boost_1_70_0.tar.gz -O /tmp/boost.tar.gz
- tar -xvf /tmp/boost.tar.gz boost_1_70_0/boost
- export CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:$PWD/boost_1_70_0/
Expand All @@ -41,6 +69,10 @@ install:
- poetry install -v

script:
- pylint snmp_fetch tests
- flake8 snmp_fetch tests
- mypy -m snmp_fetch -m tests
- bandit -r snmp_fetch
- poetry run pytest -v --cov --hypothesis-show-statistics tests/

after_success:
Expand Down
7 changes: 5 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
snmp-fetch
==========

|Version badge| |Python version badge| |PyPI format badge| |Build badge| |Coverage badge|
|Version badge| |Platform badge| |Python version badge| |PyPI format badge| |Build badge| |Coverage badge|

.. |Version badge| image:: https://img.shields.io/pypi/v/snmp-fetch
:target: https://pypi.org/project/snmp-fetch/

.. |Platform badge| image:: https://img.shields.io/badge/platform-linux-lightgrey
:alt: Platform - Linux

.. |Python version badge| image:: https://img.shields.io/pypi/pyversions/snmp-fetch
:alt: PyPI - Python Version
:target: https://pypi.org/project/snmp-fetch/
Expand All @@ -25,7 +28,7 @@ An opinionated python3.7 SNMPv2 library designed for rapid database ingestion.
Prerequisites
"""""""""""""

Snmp-fetch is built for python 3.7 and c++17. Building is currently only tested on gcc 8. The following prerequisites must also be installed before adding snmp-fetch to your project.
Snmp-fetch is built for python 3.7 and c++17. The following prerequisites must also be installed before adding snmp-fetch to your project.

net-snmp
''''''''
Expand Down
21 changes: 19 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e5d5f0b

Please sign in to comment.