-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
91 lines (76 loc) · 2.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# Config file for automatic testing at travis-ci.org
# This file will be regenerated if you run travis_pypi_setup.py
language: python
python: 3.5
sudo: false
env:
- TOXENV=py35
- TOXENV=py34
- TOXENV=py27
matrix:
fast_finish: true
before_install:
- python --version
- uname -a
- lsb_release -a
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- pip install -U pip wheel
- pip install -U tox
- pip install -U coverage
- pip install -U requires.io
- pip install -U twine
- virtualenv --version
- easy_install --version
- pip --version
- tox --version
# command to run tests, e.g. python setup.py test
script:
- tox --workdir $HOME/.tox
after_success:
# Codecov requires a single .coverage and will run 'coverage xml' to
# generate the report.
- coverage combine
- bash <(curl -s https://codecov.io/bash)
- requires.io update-site
after_failure:
- more $HOME/.tox/log/* | cat
- more $HOME/.tox/*/log/* | cat
before_cache:
- rm -fr $HOME/.cache/pip/log
- rm -fr $HOME/.tox/log/*
- rm -fr $HOME/.tox/*/log/*
cache:
directories:
- $HOME/.cache/pip
- $HOME/.tox
notifications:
email:
on_sucess: never
on_failure: always
# FIXME: After you create the Github repo and add it to Travis, run the
# travis_pypi_setup.py script to finish PyPI deployment setup. Then you can
# remove the script travis_pypi_setup.py.
deploy:
provider: pypi
distributions: "sdist bdist_wheel"
user: darkrho
password:
secure: !!binary |
Q1NuY1dyYitlOUE4YTBSMG82enpodEZjcWZkcFRvVVVSMy9qSjkxTGphR2k2WTZJRVRPbkdwQjNu
L0VUdWlNNzBOUFFjcDg2bFgzQjZWOERaaEV4cldtNTFXZyt1b0UwTnhmTFBuMmt5ekRBNlZwd3lI
NmdpcjUrY1dGWXptamhicXRKQmNURHcxZTNFOXplRXlKNFcxaFJ6a0Q1VnFaL2RUSzZmcXNCWGlQ
WFpWLzZqcE9xZjh4a0pncHVrUjkxSStEVk4waHpmbkJKbjJ2RTRlSGtKeVppY1JkbnFVb08zcExM
L1VFK05xc0FaQUNWSkl0RHZMK1JRQldaeE9PcHpqNzlYeHJTeW1nUTlzOWZWUS9zbzNUSmJTL0N1
S0JIejRoMVhjOXFpcG5zT2VHd1BBNU9qK1k5Q1FNaWtJTjVuVzczRWlFVzVUN0R5RGRaNWx3eXg1
QWdCRVBSNlFoTHh0V0Q4emtENXpFU0Z3c1p1TnJWanpZZXZGVG4zcmdkeGJleCtZZzBtMm1SeUlC
SFl5d3ArdThQWmNOTXo2MFpRczVMTS9seUtsblVGQ0poczhUNVNRYlJxczAxRE11QWlVUEcycWpF
VnRodDh3SVRKa1VWakRsSWNXSzRzVWdVekJXZUJEOEVrbVROT3B2a0FSUzFLRE1QM0t0TXhzV1ds
SWVtNlFhQlY1amtZZ21jKzB5bDFWZEhTUkFwY01sZ1FOOW90L2FteWpmZTFSUzQwM1lPdGV3Q1RU
UzJPSnFjYlRqQ2pkVlNtSnQ3MWJqVkFnTHR6VXlqc0RKTEVFZTZGUThpcWNadUxoVjRrblFJU04y
d1NEVUNzM3VWZ0krZGNyZVNrZTVhYjZZRjRQdTRvMXpGUWVPU1FwQUhmVk9YeUNYbmxUSVhBcU09
on:
tags: true
all_branches: true
repo: rolando/dask-elasticsearch
condition: "$TOXENV == py35"