Travis CI environment variables
Project description
Installation
$ [sudo] pip install travis-env
Features
- add, get, delete Travis CI environment variables
Config
$ travis token
xxx
$ export TRAVIS_TOKEN="xxx"
# export TRAVIS_ENDPOINT="https://api.travis-ci.org"
Functions
function | __doc__ |
---|---|
travis_env.add(repo, var_name, var_value, public=False) |
add environment variable |
travis_env.update(repo, **kwargs) |
update environment variable |
Executable modules
usage | __doc__ |
---|---|
python -m travis_env.clear repo |
clear all environment variables |
python -m travis_env.delete repo var_name ... |
delete environment variables by name |
python -m travis_env.set repo var_name var_value |
set environment variable |
python -m travis_env.vars repo |
print environment variable names |
Examples
$ python -m travis_env.set WEBHOOK_URL url
$ python -m travis_env.vars
WEBHOOK_URL
Related projects
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
travis-env-2019.4.13.tar.gz
(2.7 kB
view hashes)