-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
44 lines (40 loc) · 1.61 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
42
43
44
language: python
matrix:
include:
- python: 3.5
env: TOXENV=py35
- python: 3.6
env: TOXENV=py36
install:
- sudo apt-get update
#- pip install tox
- sudo apt-get -y install python-dev python-pip
- python setup.py install
- pip install requests bs4 coveralls
script:
#- tox
- nosetests --with-coverage --cover-package=vanilla_pkg -v
after_success: # Generate coverage reports only on success
- coveralls
notifications:
email: false
deploy: # Runs on every commit to master branch
# test pypi
- provider: pypi
server: https://test.pypi.org/legacy/
user: geoncs
password:
secure: "UWNjFQ6SjXufU7sGtwsmDOCymOKDTrp09K18o+9/Vx01lAXkq/Oy6jZTLl/wPwlBGrxGZ8hJ9n+Yj4ZnDA+SZ824L4hyexXklUyIGCqRAH1hAxMmJxPxWxg22P5eqAQBe1E86TCEjgvQdPMH4gnromBBAcnvcgZNhlrr+bNubv1w/PQ6XfLgXQVJRXerl0/rXaYiT+tmv7PZJFXAoQ7fyBtJXPZx7E2bQmQzUzQU7CcVJ8BZo8Gh+N2UeiEIGi/31r49ByfA0/xq5Hh1XWg2Qvr3tEmjpNFO6NsQ9FD1OWReIYQ6Z76ZPsoq2Ckw3zBRkwRhRzFgTEvTJwC1ZmCJSlI5y0zMRpcGoyg+RQ+qMeQ61KHbfrLcTRjc/S+131jhs+QMlPAeXxVPQeWodb5Nne4ALLVRDSeG9e9qucdKwB/uUfexx8Fliq1EhYVsGzE4TuzjKWcJHj6xyot27jSRcFdY7h9hpxp2nZueMgIf56k0SOuC7XiBlMg5XJB82GDyES/rvV2etILIOEP72aKaOCj4Ehm+H6jndHRRSThkzW+Su+a/VgvoVS4+LFY3iYnMHZS4lVcekRaceSsFDRYx/28GY0JsJOYG51Td4Yk7kIc+HWked7f5Trczs5/nUOkUbsDJPU/Cjk+4eqXl21Q+fg5yrX+V0v3Bcq7FilKQOMU="
skip_existing: true
on:
branch: master
tags: false
# Runs only on tagged commits to master branch
- provider: pypi
user: geoncs
password:
secure: "noPasswordYet"
distributions: sdist bdist_wheel
on:
tags: true # Deploy only on tagged commits
branch: master