Skip to content

Commit

Permalink
Create .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
XVilka committed Jul 24, 2019
1 parent cab99e7 commit cce37be
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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 changes: 3 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
capstone==4.0.1
filebytes==0.9.21
keystone-engine==0.9.1.post3

0 comments on commit cce37be

Please sign in to comment.