Skip to content

Commit cd062eb

Browse files
committed
Update Travis config
Testing release to Pypi using build stages.
1 parent 61f86c8 commit cd062eb

File tree

2 files changed

+17
-13
lines changed

2 files changed

+17
-13
lines changed

.travis.yml

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
language: python
22
python:
3-
- 2.7
4-
- 3.3
5-
- 3.4
6-
- 3.5
73
- 3.6
4+
- 3.5
5+
- 3.4
6+
- 3.3
7+
- 2.7
88
install:
99
- pip install .[avro] coverage mock
1010
before_script:
@@ -19,12 +19,16 @@ script:
1919
- HDFSCLI_TEST_URL="$WEBHDFS_URL" nosetests --with-coverage --cover-package=hdfs
2020
- HDFSCLI_TEST_URL="$HTTPFS_URL" nosetests --with-coverage --cover-package=hdfs
2121
after_script:
22-
- ./scripts/hadoop.sh stop
22+
- "./scripts/hadoop.sh stop"
2323
- rm -r "$(dirname "$HADOOP_HOME")" "$HADOOP_CONF_DIR"
24-
deploy:
25-
provider: pypi
26-
user: mtth
27-
password:
28-
secure: pJUxlxpB92jDCsAaMP67opcnu61A78BO02qhpvsdkXwCpJFBNBitgvqc8pfD1yCvkIPnCMjdhFKkJEUAqf3aCwAsLiCtL0xWqdwTpb9Ae3BkOsV4CpZZL3jkWAjiPWaPjZi3wbfJoSelTPB9NL6LuJ4KUfbBo4S1esQ1B3vCKuI=
29-
on:
30-
tags: true
24+
jobs:
25+
include:
26+
- stage: deploy to Pypi
27+
script: skip
28+
deploy:
29+
provider: pypi
30+
user: mtth
31+
password:
32+
secure: Oslw+ounXMBnCgUTF5wfXXvt/Tdxpm+pawVCP9EXdQyTO9zqmZ+aydXYhXl8Tlon/Cf4nHUWw43J67/SUx/gozSrkSRfsZ1kA9I9J6SvaxQpdHGwKTEFGuWVHNIwfRgeJ8GGPr8lBCG2LSnhRu1YPDO6R/jPdbcFbi7wMIAPjQA=
33+
on:
34+
tags: true

hdfs/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import logging as lg
1010

1111

12-
__version__ = '2.5.5'
12+
__version__ = '2.5.6'
1313
__license__ = 'MIT'
1414

1515

0 commit comments

Comments
 (0)