Create .travis.yml

This commit is contained in:
Anton Kochkov
2019-07-23 21:52:12 +08:00
committed by Anton Kochkov
parent cab99e70ba
commit cce37be939
2 changed files with 25 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
language: python
python:
- "2.7"
- "3.5"
- "3.6"
- "3.7"
install:
- pip install --upgrade pip
- pip install flake8
- pip install -r requirements.txt
- python setup.py install
before_script:
# stop the build if there are Python syntax errors or undefined names
- flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
- flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
# command to run tests
script:
- python test.py
+3
View File
@@ -0,0 +1,3 @@
capstone==4.0.1
filebytes==0.9.21
keystone-engine==0.9.1.post3