-
Notifications
You must be signed in to change notification settings - Fork 12
/
.travis.yml
38 lines (38 loc) · 2.1 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
language: python
python:
- 2.7
- 3.4
- 3.5
- 3.6
install:
- PACKAGE_VERSION=`python setup.py --version`
- TAG_NAME=v$PACKAGE_VERSION
- pip install -r dev-requirements.txt
before_install:
- export TRAVIS_COMMIT_MESSAGE=$(git log --format=%B -n 1 $TRAVIS_COMMIT)
- echo "$TRAVIS_COMMIT_MESSAGE"
jobs:
include:
- stage: deploy_docs
script:
- pip install -r docs-requirements.txt
- "./docs-build-deploy.sh"
python: 3.5
script:
- ./test.sh
before_deploy:
# create the documentation
- pip install wheel
deploy:
provider: pypi
user: rienafairefr
password:
secure: WI3jOwC+gXEGgCc3Vet68uyJbmOTCvnpQ8q6xMLJyu7Q0+VgiaA8adEigiITqLwS5y+3C1wz0KYfxzoFt09fCaJwtUD9UoT6zC2H39xzK+sbCLAKiSKx2u29zCXV1f68hIkyFDjcdVdbqThoH6pOW3UwyR2OvmaeHKzj2kY3yrMPPq3diEpp091yqNJhJN+DuQq9Tolys+vG5CIXsWYV3Cczd+VDolc1yNOHYu43+vOsDt2XgPMvrqkc1R4BdHBmlL9keY+q9UUj9ZFVnFScBq7Lia8VB+/cqriduWbEePxmCZlN7SDV6ZyfvQahsS+G5RsR0DRvRm7wt5ZCgIG/VgYOQnlO42G53FmDzAZnNxyoFP7EuE+yr/+fgcMNoPoBVqEQ+OCbqyFclPqt5TQMH9dODdkbNdDR68idQpjuReb266oBnPaCow/pnn3TljtzYzYEiHFOZWR0xo4T6G67E2YCOfqvHwfR+dcHya+pKaL9y1ePyRkElXfYR+M6WsOLg00yjcoKRd5uzgexHYaKVeE/jObhL+0LOHwmULBkY7kM2IF3qtXAwRmpKsXLZX8RfCPmJe+4ARYmpJFKv1MG67Q3OnCgnE4AapVOSHfp+bSAi7XImmN6f/zZWyu68j+NS2/BbjIqfmkRraRiCupk4jUMcOUGAtHzrIFDMgmdOHA=
on:
tags: true
distributions: sdist bdist_wheel
condition: $TRAVIS_PYTHON_VERSION = "2.7"
env:
global:
# Doctr deploy key for rienafairefr/pynYNAB
- secure: "Zr5HILpWkdEWbvAQEMz3BfRGjFYFf0RXLfNOXWu5DIeaUCeAJa+0AbTnCDmSQ7znvROlSsJQ4d11JQaSAf+h270FaX33atrnCjsRSfhXxE1ipAurc4OitROiQopOfFIs0jumCebm1RGy5m4+ZhrxZUXke/U/TLi5d8nEL+5z2YVsq1kez5Nts+WOHCEKmoWesP/GenC5eYSt0rL59JyJSrCxCnokk0Tza1dwuU5jM1gvuh4Km4nfWHtoRWH4rbvYX2JR4VlwUvkZ4/trSDWIywM/litWXaVxRqRetpJ7qCjGQ4y/JyuafetxjJAuXcUMmwN/m4lNxS1x3XpXwSm8cwr6k8yxS1PMAzcMaYYadGW+M04ln6TzmujAHTYPCkVOjhchXThyBkUMHYTWuQqOWAkqxyW3ImovLbXR4Et5WF9qXFXe+ahZiVEJzCrSKHHK+v6EydW+WfvNCLVYzVJL+w1mG82KYl3q8Fm0dOEyzyGKvuNJCxdAm1MEuM40SfN4850HNM4mUq1YyuBM14EjgV1xyuy8MZu7sT7sAVjb6WqkHQyDYvpzP0jJ/tCsifoQrm/sw9LA1oUkdU8wWx6FyBs3aDPphC2fwlPGb8WVvjYLPMgvf4GGNa9wwOZ1G6/apwqaKFRrdu991y2s2+JcORqIrvvkWVVx8wfAvq8sF2s="