forked from pylover/pymlconf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (33 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
env:
global:
- ENCRYPTION_LABEL: c602e3be279e
- COMMIT_AUTHOR_EMAIL: vahid@dobisel.com
- COVERALLS_REPO_TOKEN: Rlb2wDlvZ3jd9qSZ8Ajwffc1b1i5tVjZN
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "3.6-dev"
before_install:
- pip install -U pip setuptools wheel
- pip install -r requirements-dev.txt
install: pip install -ve .
script: coverage run --source pymlconf $(which nosetests)
after_success: if [[ $TRAVIS_PYTHON_VERSION == '3.5' ]]; then travis_retry coveralls ; fi
after_deploy: if [[ $TRAVIS_PYTHON_VERSION == '3.5' ]]; then ./travis-gh-pages.sh ; fi
deploy:
provider: pypi
user: Vahid.Mardani
password:
secure: B36EgPpgSTEneklHrsDPk8DA0r556PoQrepW24hPkm+kBkq0tluQ8xyT/vaFlMe348+M+OuUFLY2bHHpfciLJfS4ZOSNP2FGflV6RUuPJZjwVgzB7m8+afZQjcss5sDAJxJaV5Y4BAxEfbAAnjrYPkGzjl3N8YTRjeghyZZIQOw=
skip_cleanup: true
overwrite: true
distributions: sdist bdist_wheel
on:
tags: true
all_branches: true
repo: pylover/pymlconf
condition: "$TRAVIS_TAG =~ ^v[0-9][.][0-9]*[.][0-9]*$"
all_branches: true