In what follows python3 is an alias for python3.5
or any later version (python3.6 and so on).
Install the latest pip & setuptools packages versions
python3 -m pip install --upgrade pip setuptoolsDownload and install the latest stable version from PyPI repository
python3 -m pip install --upgrade alcorDownload and install the latest version from GitHub repository
git clone https://github.com/wolvespack/alcor.git
cd alcor
python3 setup.py installInstall bumpversion.
Choose which version number category to bump following semver specification.
Test bumping version
bumpversion --dry-run --verbose $VERSIONwhere $VERSION is the target version number category name,
possible values are patch/minor/major.
Bump version
bumpversion --verbose $VERSIONNote: to avoid inconsistency between branches and pull requests,
bumping version should be merged into master branch as separate pull request.
Plain
python3 setup.py testInside Docker container
docker-compose upInside Docker container with remote debugger
./set-dockerhost.sh docker-compose upBash script (e.g. can be used in Git hooks)
./run-tests.sh