forked from pallets-eco/flask-classful
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
46 lines (46 loc) · 2.55 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
sudo: false
language: python
env:
global:
- MOST_TESTED_PYTHON_VERSION=3.6
- COVERAGE_PYTHON_VERSION=2.7
- FLASK_LATEST=0.12.2
- GH_REPO="teracyhq/flask-classful"
- secure: Hi311ZhGAI1JCnKj1xnOUYSaUy5+gyfs3xsndD3gjuPahfIm3Lp5Rj3ZWaofzBoX+isn7OoyHaVgCIJwJflmdwTIoodQvD011cICVVDpIApcrSiiIG3MO6NxTrLwhRYNlyA0/C8jl8uooLphnVT7gGsGrzzIMYxb7z67UcgZSwAGwaBmTF0Tt737dZDlH5hbnYek6aZS+4PQbqPLVbyO9ekZzUXdrRiM9Pv0HHW4A0QFBZaNow/o7cGhHKHUypXGSW8x+a6g4hiI8OJVnwMqyQQkWI09bVPqtROq+e24TkmUjCYRJyx2gYvowqg6+PkPKs/cddlJ1lwkBFIdUym6D7MgdixCCAXDc6ZXnTvipUO1lBuRc6OpEf4lmB+QgDsWFeqrrFMvSu/32rZw2527qI9HqMQZZCcdWEUVuxleR7//ABKXmpSXBfGlrJ0aNdOfsdIhmRztIm/wtgcovzvJQzi2F/sfRUo0wUAsoT2N4QRYzAdSbLjCVkJlaY4d5YpQ1HAcOLCZravirjPxnZ4Ds3/acSbVE7ls+G1Ho0eAbGiq3WSlBRIE0eGtG1C7sQnAzryOc8pVnPwZ12YOoLYC5QP0MHdht3W3fArRFem0uyyFGWcNPe7X4eYlkP73bGG4FPvsoTCz8L2GYs5umZSrOgLoZl/dTP/U6uW76b2buts=
matrix:
- Flask=0.11
- Flask=0.11.1
- Flask=0.12
- Flask=0.12.1
- Flask=0.12.2
python:
- 2.7
- 3.3
- 3.6
before_script:
- git config --global user.name "Teracy Bot"
- git config --global user.email "[email protected]"
- export REPO_URL_GITHUB="https://[email protected]/$GH_REPO.git"
- . ./.travis/setup.sh
- echo $DEPLOY_HTML_DIR
install:
- python setup.py install
- make resolve
- pip uninstall -y Flask
- pip install Flask==$Flask
script:
- make test
after_script:
- if [[ ! -z ${DEPLOY_HTML_DIR+x} && $TRAVIS_PYTHON_VERSION == $MOST_TESTED_PYTHON_VERSION && $Flask == $FLASK_LATEST ]]; then
pip install -r docs/requirements.txt && cd docs && make setup_gh_pages && make generate && make deploy; fi
after_success:
- if [[ $TRAVIS_PYTHON_VERSION == $COVERAGE_PYTHON_VERSION && $Flask == $FLASK_LATEST ]]; then pip install
--quiet python-coveralls && make report-coverage && coveralls; fi
- make check-style
notifications:
slack:
on_success: change
on_failure: always
on_pull_requests: false
rooms:
secure: CkrarcR2syf+Eu9TbVX7Hdnz++/OzV8TrPxX01Ok6lIz45ItjFby3HohdGiv/LdqAF91qP6cHzoADByoAAIDyExjsfJimMDtLfX6ZWAq8/WBS0g8bqpBv7s0ydPNB51DgzJNRh7adVExT3dhqO4XKcKmgL5UIOTLcouopB/cCn6/p6/B4l9I7AccHPRcPfsxgQnyUQPjpe2tyg/kpr0OHn+jdsiv0aTF9vmC1hSr/h3vTNDjp10jwW8XLaZIYUvATmwwXbADDB4DOAuVHtBV92bmDSwyZiBV7hqU9mqqVSdkDoHp/6nGBtJpsgaGEvPESCm2LdJrvfJNg+goYrmbaIr07kuISvbEjQxTX2MPsxTJy0Qmre9Ki6yXlJ/rSxAo2G6FMAUiqpKVV86L3g9Sway7Ovp5ihlZoJGMcA79y8WYAuSDN6PjY9GVksXiWr0cKFzBf/sBRTS4Zn60JLJSDA57KPny6DITN0WrMQFzc0hVVLINRjUhR4Nwn8P1TZVMGN+LRCOGj1/8MTgiZA9JaQbhjoWng+1M5f7BE9NKgOVVXn1+F2EI+ik+tiMpFfyinUPdgHS3SnVkd7Ja7dI1YG4MuJiCqS5WnEGXCu0xCOKbM2JyUtfnsw/IgsLnZ52G9+eI9W8Qq0GQ8S95Z4qsniZo49tU9g5bSKiN5rKiUSY=