Skip to content
Snippets Groups Projects
Commit 427a0bca authored by Benjamin Krikler's avatar Benjamin Krikler
Browse files

Merge branch 'BK_add_travis' into 'master'

Add travis.yml and rename requirements_dev.txt

See merge request !8
parents 1d91452e 111dd96f
No related branches found
No related tags found
1 merge request!8Add travis.yml and rename requirements_dev.txt
Pipeline #867513 passed
...@@ -4,7 +4,7 @@ variables: ...@@ -4,7 +4,7 @@ variables:
TWINE_REPOSITORY_URL: https://upload.pypi.org/legacy/ TWINE_REPOSITORY_URL: https://upload.pypi.org/legacy/
before_script: before_script:
- pip install -r requirements_dev.txt - pip install -r .requirements_dev.txt
stages: stages:
- quick-checks - quick-checks
......
File moved
dist: xenial
language: python
python:
- "2.7"
- "3.5"
- "3.6"
- "3.7"
install:
- pip install -r .requirements_dev.txt
- pip install .
script: pytest -v --doctest-modules --cov-report=xml --cov=fast_flow tests/
after_success:
- coverage combine
- codecov
jobs:
include:
- stage: test
script: flake8 --max-line-length=120 fast_flow tests
name: flake8
...@@ -17,7 +17,7 @@ commands = flake8 fast_flow --max-line-length=120 ...@@ -17,7 +17,7 @@ commands = flake8 fast_flow --max-line-length=120
setenv = setenv =
PYTHONPATH = {toxinidir} PYTHONPATH = {toxinidir}
deps = deps =
-r{toxinidir}/requirements_dev.txt -r{toxinidir}/.requirements_dev.txt
commands = commands =
pip install -U pip pip install -U pip
pytest --basetemp={envtmpdir} tests/ pytest --basetemp={envtmpdir} tests/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment