aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ08nY2019-03-21 10:58:11 +0100
committerJ08nY2019-03-21 11:34:23 +0100
commit626102a3885d5c9bea88cafcb143fe626685f4b6 (patch)
tree115d67199d10c4cfc05df5125acc062f426d8ec9
parenta93fcd46fe7e9639122cc1a97b2d3f644ed26a30 (diff)
downloadpyecsca-626102a3885d5c9bea88cafcb143fe626685f4b6.tar.gz
pyecsca-626102a3885d5c9bea88cafcb143fe626685f4b6.tar.zst
pyecsca-626102a3885d5c9bea88cafcb143fe626685f4b6.zip
-rw-r--r--.travis.yml12
-rw-r--r--README.md3
-rw-r--r--setup.py9
3 files changed, 19 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..b623c5a
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,12 @@
+language: python
+dist: xenial
+python:
+ - "3.6"
+ - "3.7"
+
+install:
+ - pip install ".[test, typecheck]"
+
+script:
+ - make -i typecheck
+ - make test
diff --git a/README.md b/README.md
index 602f3eb..9f53ef0 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,7 @@
# ![](docs/_static/logo_black_small.png) pyecsca [pɪɛtska]
+[![Build Status](https://travis-ci.org/J08nY/pyecsca.svg?branch=master)](https://travis-ci.org/J08nY/pyecsca)
+
**Py**thon **E**lliptic **C**urve cryptography **S**ide-**C**hannel **A**nalysis toolkit.
## Requirements
@@ -19,6 +21,7 @@ It also supports working with [Riscure](https://www.riscure.com) Inspector trace
- [nose2](https://nose2.readthedocs.io)
- [green](https://github.com/CleanCut/green)
+ - [mypy](http://mypy-lang.org/)
### Docs
diff --git a/setup.py b/setup.py
index a2de0fb..874c2e4 100644
--- a/setup.py
+++ b/setup.py
@@ -29,9 +29,8 @@ setup(
"matplotlib",
"fastdtw"
],
- tests_require=[
- "nose2",
- "parameterized",
- "green"
- ]
+ extras_require={
+ "typecheck": ["mypy"],
+ "test": ["nose2", "parameterized","green"]
+ }
)