Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ed030c3

Browse files
committed
💚 update travis matrix
1 parent c81b6de commit ed030c3

File tree

3 files changed

+27
-4
lines changed

3 files changed

+27
-4
lines changed

‎.moban.d/custom_travis.yml.jj2‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,7 @@ python:
1414
{%endblock%}
1515

1616

17-
{% block custom_install %} - pip install Flask==$FLASK_VERSION
17+
{% block custom_install %} - if [ -n "$FLASK_VERSION" ]; then
18+
pip install Flask==$FLASK_VERSION;
19+
fi
1820
{% endblock%}

‎.travis.yml‎

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,30 @@ python:
1313
- 3.6
1414

1515
stages:
16+
- lint
17+
- moban
1618
- test
1719

1820

21+
.lint: &lint
22+
git:
23+
submodules: false
24+
python: 3.6
25+
env:
26+
- MINREQ=0
27+
stage: lint
28+
script: make lint
29+
30+
.moban: &moban
31+
python: 3.6
32+
env:
33+
- MINREQ=0
34+
stage: moban
35+
install: pip install moban gitfs2 pypifs moban-jinja2-github moban-ansible
36+
script:
37+
- moban
38+
- git diff --exit-code
39+
1940
jobs:
2041
include:
2142
- *moban
@@ -24,7 +45,9 @@ jobs:
2445
stage: test
2546

2647
before_install:
27-
- pip install Flask==$FLASK_VERSION
48+
- if [ -n "$FLASK_VERSION" ]; then
49+
pip install Flask==$FLASK_VERSION;
50+
fi
2851
- if [[ -f min_requirements.txt && "$MINREQ" -eq 1 ]]; then
2952
mv min_requirements.txt requirements.txt ;
3053
fi

‎flask_excel.yaml‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,4 @@ test_dependencies:
2929
- pyexcel-xlsx>=0.3.0
3030
description: |
3131
A flask extension that provides one application programming interface to read and write data in different excel file formats
32-
lint_command: false
33-
moban_command: false
3432
flake8_options: --ignore=F401,E402

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /