mirror of
https://github.com/sashs/Ropper
synced 2026-06-08 17:20:46 +00:00
Create .travis.yml
This commit is contained in:
committed by
Anton Kochkov
parent
cab99e70ba
commit
cce37be939
+22
@@ -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
|
||||
@@ -0,0 +1,3 @@
|
||||
capstone==4.0.1
|
||||
filebytes==0.9.21
|
||||
keystone-engine==0.9.1.post3
|
||||
Reference in New Issue
Block a user