abhishekanand / ci_python_example

Continuous Integration example for Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ci_python_example

Continuous Integration example for Python

Build Status

Coverage Status

.
├── LICENSE
├── README.md
└── codebase
    ├── __init__.py
    ├── codebase.py
    ├── data
    │   └── test.csv
    ├── tests
    │   ├── __init__.py
    │   └── test_codebase.py
    └── version.py
  • Install Coverage
conda install coverage
coverage run -m unitest discover
  • Minimum enviroment to run Unit test
  • Create a fresh environment
  • Source activate enve
  • Wverify which Pip
  • pip install pandas
  • freeze (Create requirment.txt) pip freeze > requirmnts.txt
  • Now add requirment.txt to git

  • Create .travis.yml

About

Continuous Integration example for Python

License:MIT License


Languages

Language:Python 100.0%