forked from corydolphin/flask-cors
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (38 loc) · 1017 Bytes
/
.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
sudo: false
cache:
- pip
language: python
python:
- '2.7'
- '3.4'
- '3.5'
- '3.6'
- pypy
# from https://github.com/travis-ci/travis-ci/issues/9815
# https://github.com/travis-ci/travis-ci/issues/9069#issuecomment-425720905
# Enable 3.7 without globally enabling sudo and dist: xenial for other build jobs
matrix:
include:
- python: 3.7
dist: xenial
sudo: true
env:
- FLASK=0.10.1
- FLASK=0.10
install:
- pip install -U setuptools pep8 six coverage docutils pygments flask==$FLASK
script:
- coverage erase
- nosetests --with-coverage --cover-package=flask_cors
- python setup.py clean build install
after_success:
- pep8 flask_cors.py
deploy:
provider: pypi
user: CoryDolphin
password:
secure: c/z1OYmniNlJ7F7G+TipOlJfVLCEz0F09JCJJ4+TPB/DTxajxarMEygX/LrvBOLvbe1EvAKO9p/SOagAul00YXU/rb2i1k1tJnKF2A6KKSLOsZbTcGWNcInOaLKql4Cv8Ts1cOfMiTVHBQLR+1FCw+IuZ44N+KhF0tsFOejEmRc=
distributions: "sdist bdist_wheel"
on:
tags: true
repo: corydolphin/flask-cors