Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 tokens

to 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 token

put 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)