A build help tool
Project description
Introduction
This is a simple CLI that allows you to update a version.txt file with a build number.
Install traviscli in your virtual environment
This utility is distributed via pypi packages.
Install like this:
pip3 install traviscli
How to use
traviscli --help
Usage: traviscli [OPTIONS]
Use this command to get the Travis CI build number of your project. Assumes
you are using Semantic Versioning
Options:
-b, --build-count INTEGER Number builds to check.
-r, --repo-slug TEXT something thing like hasii2011/PyUt. [required]
-f, --file PATH Relative location of version text file
--major-version INTEGER Change the major number to the specified one
--minor-version INTEGER Change the minor number to the specified one
--patch-version INTEGER Change the patch number to the specified one
--version Show the version and exit.
--help Show this message and exit.
How to get your TravisCI Application Token
Go to your TravisCI Profile-->Settings-->Settings Tab
For example:
Where to put configuration token
Create a file named .travis-cli.ini in your home directory (or where $HOME points to)
Configuration file format
[TRAVISCI]
travisci_api_token = Your Token goes here
Version file format
The version string in your version file should follow the rules for semantic versioning
For example, here is a correctly formatted version string
6.2.1+.500
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file traviscli-0.3.2.tar.gz.
File metadata
- Download URL: traviscli-0.3.2.tar.gz
- Upload date:
- Size: 10.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2236da8bdba857b7db3375c00512694dfb5e71f83c659ec78f7d9c3add09b6a
|
|
| MD5 |
615a7466b008abd0c67f87c8d843e139
|
|
| BLAKE2b-256 |
cc6a38d580a6a0978bc64cb306272bfbae23571f27f42927eb98f5c28a5ee6fa
|
File details
Details for the file traviscli-0.3.2-py3-none-any.whl.
File metadata
- Download URL: traviscli-0.3.2-py3-none-any.whl
- Upload date:
- Size: 11.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca1a481a166da7eb851aa5b5dc40b0d48bf6191c38a4141f44bb35219eea49ad
|
|
| MD5 |
ac0d9f513a4ce9a03ad6b734c097ab4e
|
|
| BLAKE2b-256 |
6962c038494a019bc57829135069b3a3a025adf7a5eb5730bb6cdc6ac49bde81
|