mithi/hexapod-robot-simulator

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
# Disable sudo to speed up the build
sudo: false

language: python
python:
  - "3.8.1"
cache: pip
install:
  - pip install -r requirements.txt
  - pip install codecov
script:
  - python -m py_compile ./*/*.py ./*.py ./*/*/*.py
  - flake8 ./*/*.py ./*.py ./*/*/*.py
  - pylint ./*.py */*.py */*/*.py --reports=y --ignore=page_kinematics.py,ik_solver.py --disable=broad-except,too-few-public-methods,attribute-defined-outside-init,too-many-locals,too-many-instance-attributes,too-many-arguments,bad-continuation,missing-class-docstring,missing-module-docstring,missing-function-docstring,invalid-name,duplicate-code
  #- python -m pytest
  - coverage run -m pytest
  - coverage report -m

# Push the results back to codecov
after_success:
  - codecov