Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bincrafters/bincrafters-envy
update environment variables for travis and appveyor
https://github.com/bincrafters/bincrafters-envy
conan conan-tools environment
Last synced: 3 months ago
JSON representation
update environment variables for travis and appveyor
- Host: GitHub
- URL: https://github.com/bincrafters/bincrafters-envy
- Owner: bincrafters
- License: mit
- Archived: true
- Created: 2017-12-06T07:21:00.000Z (about 7 years ago)
- Default Branch: develop
- Last Pushed: 2023-06-01T12:24:26.000Z (over 1 year ago)
- Last Synced: 2024-04-14T12:13:03.170Z (9 months ago)
- Topics: conan, conan-tools, environment
- Language: Python
- Size: 59.6 KB
- Stars: 2
- Watchers: 10
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/bincrafters/bincrafters-envy.svg?branch=master)](https://travis-ci.org/bincrafters/bincrafters-envy)
[![Build status](https://ci.appveyor.com/api/projects/status/bb3844r6mnu7gy1g?svg=true)](https://ci.appveyor.com/project/BinCrafters/bincrafters-envy)
[![codecov](https://codecov.io/gh/bincrafters/bincrafters-envy/branch/master/graph/badge.svg)](https://codecov.io/gh/bincrafters/bincrafters-envy)
[![download](https://img.shields.io/badge/download-pypi-blue.svg)](https://pypi.org/project/bincrafters-envy)# Bincrafters Envy
Update environment variables for travis and appveyor
#### Install
To install using pypi.org:pip install bincrafters-envy
#### Usage
first, you'll need to obtains travis and appveyor tokensto obtain appveyor token, visit this [page](https://ci.appveyor.com/api-token)
to obtain travis token, install travis [ruby client](https://github.com/travis-ci/travis.rb), then run:
travis login
travis tokenput your appveyor token into file named **appveyor.token**
put your travis token into file named **travis.token**
create **env.ini** file with your environment variables (take a look at the **env.ini.example**):
```
[env]
CONAN_LOGIN_USERNAME =
CONAN_PASSWORD =
```then run `python envy.py -p ` (e.g. `python envy.py -p conan-libastral`)
#### Testing
To run all unit tests:cd tests
pytest -v -s --cov=bincrafters_envy#### LICENSE
[MIT](LICENSE)