forked from marshmallow-code/flask-marshmallow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (33 loc) · 833 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
language: python
sudo: false
python:
- '3.6'
- '3.5'
- '2.7'
- pypy
env:
- MARSHMALLOW_VERSION="==2.0.0"
- MARSHMALLOW_VERSION=""
install:
- travis_retry pip install -U -r dev-requirements.txt
- travis_retry pip install -U marshmallow"$MARSHMALLOW_VERSION" --pre
script: invoke test
jobs:
include:
- stage: PyPI Release
if: tag IS present
python: '3.6'
env: []
before_install: true
install: true
script: echo "Releasing to PyPI..."
after_success: true
before_script: true
deploy:
provider: pypi
user: sloria
on:
tags: true
distributions: sdist bdist_wheel
password:
secure: J05JjU6cY5RVHalwpCswhtGocSp3rcdVmUs1Z1FFRqBy18beTziRo1996OrqXqexXdFTQkW+RN2seirJDZhY2eB2WHp+2DN+cx2ynvu/VVGUq1L1WzylImOZptoUo+s5NEkM6R5AjEaJbOiLxMP3iYEiNPlRznw0V9NDOxX/xOg=