diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..835f8bf --- /dev/null +++ b/.travis.yml @@ -0,0 +1,20 @@ +language: python + +python: + - 2.7 + - 3.4 + - 3.5 + - 3.6 + +install: + - pip install -r requirements_dev.txt + +before_script: + cd tests/ + +script: + - flake8 + - coverage run --source=../swap -m pytest + +after_success: + - coveralls diff --git a/requirements_dev.txt b/requirements_dev.txt new file mode 100644 index 0000000..0d56569 --- /dev/null +++ b/requirements_dev.txt @@ -0,0 +1,5 @@ +coveralls +coverage +pytest +flake8 +-r requirements.txt \ No newline at end of file