In what follows python is an alias for python3.5
or any later version (python3.6 and so on).
Install the latest pip & setuptools packages versions
python -m pip install --upgrade pip setuptoolsDownload and install the latest stable version from PyPI repository
python -m pip install --upgrade cppbuiltinsDownload the latest version from GitHub repository
git clone https://github.com/lycantropos/cppbuiltins.git
cd cppbuiltinsInstall
python setup.py installInstall bump2version.
Choose which version number category to bump following semver specification.
Test bumping version
bump2version --dry-run --verbose $CATEGORYwhere $CATEGORY is the target version number category name, possible
values are patch/minor/major.
Bump version
bump2version --verbose $CATEGORYThis will set version to major.minor.patch-alpha.
Test bumping version
bump2version --dry-run --verbose releaseBump version
bump2version --verbose releaseThis will set version to major.minor.patch.
Install dependencies
python -m pip install -r requirements-tests.txtPlain
pytestInside Docker container:
docker-compose --file docker-compose.yml upBash script:
./run-tests.shPowerShell script:
.\run-tests.ps1