aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.travis.yml15
-rw-r--r--Pipfile3
-rw-r--r--tox.ini2
3 files changed, 18 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 00000000..33ea1fa6
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,15 @@
+language: python
+
+python:
+ - "3.7"
+
+sudo: required
+
+services:
+ - docker
+
+install:
+ - pip install flake8 pipenv
+ - pipenv install --deploy
+ - pipenv run lint
+ - sh docker/build.sh
diff --git a/Pipfile b/Pipfile
index 90f6f45e..a702616f 100644
--- a/Pipfile
+++ b/Pipfile
@@ -18,4 +18,5 @@ name = "pypi"
python_version = "3.7"
[scripts]
-start = "python -m bot" \ No newline at end of file
+start = "python -m bot"
+lint = "flake8 bot"
diff --git a/tox.ini b/tox.ini
index 780c31d7..bff048cb 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,6 @@
[flake8]
max-line-length=120
-application_import_names=proj
+application_import_names=bot
ignore=P102,B311,W503,E226,S311
exclude=__pycache__, venv, .venv, tests
import-order-style=pycharm