https://github.com/cburmeister/flask-travis
Easily fetch TravisCI environment variables when testing.
https://github.com/cburmeister/flask-travis
Last synced: 17 days ago
JSON representation
Easily fetch TravisCI environment variables when testing.
- Host: GitHub
- URL: https://github.com/cburmeister/flask-travis
- Owner: cburmeister
- License: mit
- Created: 2013-09-21T18:51:48.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-09-21T18:57:42.000Z (over 11 years ago)
- Last Synced: 2025-03-15T14:36:33.432Z (about 1 month ago)
- Language: Python
- Size: 105 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
flask-travis
===========Easily fetch TravisCI environment variables when testing.
## Install
```python
pip install Flask-Travis
```## Usage
Import and initialize:
```python
from flask.ext.import Travisapp = Flask(__name__)
travis = Travis(app)
```Or better yet, use Flask's application factory pattern:
```python
travis.init_app(app)
```