aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"]
+ }
)