From f6fb6e452d39fb87b1b690460fb9011566119f69 Mon Sep 17 00:00:00 2001 From: J08nY Date: Wed, 9 Dec 2020 17:02:50 +0100 Subject: Add gmpy2 and update Travis to run with Python 3.8 and 3.8. --- .coveragerc | 1 + .travis.yml | 15 +++++++++++++-- setup.py | 3 ++- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/.coveragerc b/.coveragerc index 75b19fd..adce703 100644 --- a/.coveragerc +++ b/.coveragerc @@ -2,6 +2,7 @@ branch = True omit = test/* + virt/* setup.py fakesource diff --git a/.travis.yml b/.travis.yml index 9c61f48..8b9e4ad 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,9 @@ os: linux language: python -dist: xenial -python: "3.8" +dist: focal +python: + - "3.8" + - "3.9" addons: apt: @@ -15,6 +17,15 @@ addons: - swig - gcc - libpcsclite-dev + - libgmp-dev + - libmpfr-dev + - libmpc-dev + - llvm-10 + - libllvm10 + - llvm-10-dev + +env: + - LLVM_CONFIG=/usr/bin/llvm-config-10 before_install: - git clone https://github.com/colinoflynn/pico-python diff --git a/setup.py b/setup.py index 211e99d..9ebf8fc 100644 --- a/setup.py +++ b/setup.py @@ -37,7 +37,8 @@ setup( "bokeh", "matplotlib", "datashader", - "xarray" + "xarray", + "gmpy2" ], extras_require={ "picoscope_sdk": ["picosdk"], -- cgit v1.2.3-70-g09d2