Skip to content

Commit 9639e18

Browse files
committed
Add PyPI autodeploy
1 parent 7fa1020 commit 9639e18

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

.travis.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,29 @@ before_install:
1515
- conda config --set always_yes yes --set changeps1 no
1616
- conda update -q conda
1717
- conda info -a
18-
18+
1919
# Useful for debugging any issues with conda
2020
- conda info -a
2121
- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION pytorch-cpu scipy -c pytorch
2222
# - if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then pip install enum34; fi
2323
- source activate test-environment
24-
24+
2525
- pip install future
2626
- pip install pytest pytest-cov codecov
2727
- pip install mock
28-
28+
2929
install:
3030

3131
- pip install .
32-
32+
3333
script:
3434
- python -m pytest -s tests
35-
35+
36+
deploy:
37+
provider: pypi
38+
user: qubvel
39+
password:
40+
secure: vUkfooHvfPJp4vA68pRwRehcEiAHZPMdDlWDiLZLYoYQNxR510/NRO6erWeRbv+Im4gmn/Z//ShpPlBs9L8kFz1Xf/PCWV6Xe661qpqvoNi9PBwtN4F33JryciR6VK8e+8mO9igWPSPueFUJ4y6xgcjgHWYg4W96iqO9tEh/rTHhPGgneWgWD4/k5NIE5XK5xg52kc28CNQTRepjN4PoRDtcj5Hv/kCKLpJXrFqPT4TJ7pUdU/sQUh4Epr9fn2AXOVh41IWOjvagUmYlx9QMdZpKtL0a83pe1SDDkDCxyTCuSBBdkVsPLZkFxq927Y29tarnSFmzm+Wxk6qcpwwVupCF+EGDK9goYS4czPiS8OjEKmFkLceZYjafZxCn6IUBoLcPUx5HmbsjkRIlNQAB8Mn2pYtH2kDCiNGtmVMH+VsML7HY7DqFCE8jvtP+caNLnGT4/q+ICKemzos5qsSL/6eu8sztTdgBTp8M2DAVyA51XFPKgeUnT5Ivi+r/skt/tUCzGrl8E3yUty6XW619x+bVggRgMq/RcUkItixnoaaVRx4AIiRN/scX5RmrQAgp6RxQ89o+NvrY0UeDVWUHvHcNxjogl8A8V7ROIwY/oxBF98Up2GJ1qtTKyNesBOZ09cxJHcTXeQBsI0ena+CLTFx/xfCQ5simMIEunn/x4+I=
41+
on:
42+
tags: true
43+
skip_existing: true

0 commit comments

Comments
 (0)