forked from marshmallow-code/marshmallow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (37 loc) · 1.05 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
# Config file for automatic testing at travis-ci.org
language: python
# http://blog.travis-ci.com/2014-12-17-faster-builds-with-container-based-infrastructure/
sudo: false
python:
- "3.6"
- "3.5"
- "3.4"
- "2.7"
- "pypy"
before_install:
- pip install -U pip
# Workaround for travis issue: https://github.com/marshmallow-code/marshmallow/issues/681
- pip install -U six
install:
- pip install -U .[reco]
- pip install -U -r dev-requirements.txt
script: invoke test
jobs:
include:
- stage: PyPI Release
if: tag IS present
python: "3.6"
env: []
# Override before_install, install, and script to no-ops
before_install: true
install: true
script: echo "Releasing to PyPI..."
after_success: true
deploy:
provider: pypi
user: sloria
on:
tags: true
distributions: sdist bdist_wheel
password:
secure: ESoVNuEqjuNGCCGMbjHwIJS3LfPL2BKPQG5RuDiW8qo4+BN25yobiD+Bo7kozUtUHVKa6oTdi4Gqb1i5IUKNcaP0qBItdkk3LPOAUyOhdFZF+dL22JhajJ6LNO7i1cyUTzjYaS2cOTG8kSSYd7W9Okfp5bY6HtUNgCqhI1mZfMU=