Skip to content

Commit fef680e

Browse files
committed
test against latest versions of Flask
1 parent cc1d872 commit fef680e

File tree

4 files changed

+45
-0
lines changed

4 files changed

+45
-0
lines changed

.moban.d/README.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
{%extends 'WEB-README.rst.jj2' %}
22

3+
{%block header %}
4+
Tested Flask Versions
5+
========================
6+
7+
.. image:: https://img.shields.io/badge/Flask-0.12.2-green.svg
8+
:target: http://travis-ci.org/pyexcel/Flask-Excel
9+
10+
.. image:: https://img.shields.io/badge/Flask-0.11.1-green.svg
11+
:target: http://travis-ci.org/pyexcel/Flask-Excel
12+
13+
.. image:: https://img.shields.io/badge/Flask-0.10.1-green.svg
14+
:target: http://travis-ci.org/pyexcel/Flask-Excel
15+
16+
17+
{%endblock%}
18+
19+
320
{% block usage %}
421

522
Usage

.moban.d/travis.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
11
{% extends "travis.yml.jj2" %}
2+
3+
{%block test_other_environments%}
4+
env:
5+
- FLASK_VERSION=0.12.2
6+
- FLASK_VERSION=0.11.1
7+
- FLASK_VERSION=0.10.1
8+
{%endblock%}
9+
10+
211
{% block custom_install %} - if [[ $TRAVIS_PYTHON_VERSION == "2.6" ]]; then pip install weakrefset; fi
12+
- pip install Flask==$FLASK_VERSION
313
{% endblock%}

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ sudo: false
22
language: python
33
notifications:
44
email: false
5+
env:
6+
- FLASK_VERSION=0.12.2
7+
- FLASK_VERSION=0.11.1
8+
- FLASK_VERSION=0.10.1
59
python:
610
- pypy
711
- 3.6
@@ -15,6 +19,7 @@ before_install:
1519
- "if [[ $TRAVIS_PYTHON_VERSION == 'pypy' ]]; then deactivate && wget https://bitbucket.org/squeaky/portable-pypy/downloads/pypy-5.7.1-linux_x86_64-portable.tar.bz2 -O - | tar -jxf - && echo 'Setting up aliases...' && ln -s pypy-5.7.1-linux_x86_64-portable pypy2-latest && export PATH=$HOME/pypy2-latest/bin/:$PATH && virtualenv --no-site-packages --python ~/pypy2-latest/bin/pypy pypy2-env && echo 'Creating custom env...' && source pypy2-env/bin/activate && python -V; fi"
1620
- cd -
1721
- if [[ $TRAVIS_PYTHON_VERSION == "2.6" ]]; then pip install weakrefset; fi
22+
- pip install Flask==$FLASK_VERSION
1823
- if [[ $TRAVIS_PYTHON_VERSION == "2.6" ]]; then pip install flake8==2.6.2; fi
1924
- if [[ -f min_requirements.txt && "$MINREQ" -eq 1 ]]; then
2025
mv min_requirements.txt requirements.txt ;

README.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,19 @@ and export from SQL databases, information analysis and persistence. It uses
133133

134134

135135

136+
Tested Flask Versions
137+
========================
138+
139+
.. image:: https://img.shields.io/badge/Flask-0.12.2-green.svg
140+
:target: http://travis-ci.org/pyexcel/Flask-Excel
141+
142+
.. image:: https://img.shields.io/badge/Flask-0.11.1-green.svg
143+
:target: http://travis-ci.org/pyexcel/Flask-Excel
144+
145+
.. image:: https://img.shields.io/badge/Flask-0.10.1-green.svg
146+
:target: http://travis-ci.org/pyexcel/Flask-Excel
147+
148+
136149

137150
Installation
138151
================================================================================

0 commit comments

Comments
 (0)