Skip to content

Commit 399041b

Browse files
committed
travis: another attempt to deploy to PyPI automatically using dpl v2
* Need 'travis encrypt --org' to use https://api.travis-ci.org/
1 parent 451e2a1 commit 399041b

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.travis.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,11 @@ after_success:
2323
deploy:
2424
skip_existing: true
2525
provider: pypi
26-
user: __token__
26+
username: "__token__"
2727
password:
28-
secure: "bGOd4oFF0AatJ9zqiJFcZSvQXGh7E4oKgPrtdfHqRI+4zXWl8XSC1I/s3K53J3TndIch5jpep/piFslgKZulBFdfu8cp8/chcF6iFp7Dc0LvwpZ39OBtycNKpeB1GQlwCAtY1ffKTqlvlVkANLHGH8/cUtT51LzLy63EUfdFxTUY2zCC4hQsOyMYqAnSo7ydzbjaz1WJwl8uwYaKqA2w7cFaSQztFoh9nxqXYcjNpdrO++hZBtXfawsqM7SHOOmEIXUEZJNnDMKQCUOFOqKtsJkYVQZi0t5LZ/tiVcDLR+egPGhR+5JxGS7DTyQZrwdRJahLD1wvgTeiIVUFyYdY4zz+1f6dST7Vucpwzs3VJIY9HQIOH0fmeVuIAnmJOiVO3BIcTNBXXpy5kc/K7dbLLn/nW8BaT8itxvzqOYLKC51PR5jOBBbII09bKBtcH7AN1NC0crMZIScDwL3xl601JnNhUYPGl2zeaatK5bx/JHMDD4K+lJTV51agi2eIrrE9lrPivh0PVp8mLVUrpBa7Ej0ZxIzAxsiPtgGsC23FzWo0j1mg+4slaso+Vz3fP7RASouz5sxryCVn+keaXGmA49N0E0Bp5+yiL+pfpRI1R6vpTr0CD6QRCo5x8LvxviYwmSMJiX/w0jegs8CsY57EYAafoEKcWnawQXRHEhpbsOY="
29-
distributions: sdist bdist_wheel
28+
secure: "jX3kx2wznVDW8NHaUo0pmRMJNcep1TFM8WN0BI56GLylhlCupx+L1ejTf/qdUdmydUz5P5vjFs5byzQZZi1Gm9FcoWXuos069XFZ+Ps7TAQXzGUWAxUarThOZUynhbco4kutf6X7DmQEZktAT56z1KkjorJg4ZrA/JF3OjD2Moz0R+qHxVohRCREKrDp0hqvs/EsvsWBLRPgtu6LzFxSpQUtKuSXDYEAoXhJN6RjyFnXhJdx1ARWPdFEXs+mDvnr3oDuUQCyKrwAFoYpWiKTiGxrT4NUHIQdtM70itvVw9AX1VMcyubWmrvJ3vHe3wIwzszGlGe7B/9SywVJokjIHS9wJ7BGVnek4s+zncUrOHZbxaJmd0yHIcAkXclX7p7UCnRPO7IkhKmmTgv5SDLAlXG3KBKuvrPCWsFU79X3nk4vF1qh6vGFphuTmKTa+6lSSiElcZ8IEkPWUto4UvR7bLOYv815PTAlCib4IOBzzVdwyA2fzWXRWbTEhL8bFnLXS2BbltByt0XVGdHdvxa/1Ys2+yCh+qqsZ+aamex18m9iRs1MLtwR2BeNK2JzI2dyAr/hQFrR0qk8/8qqFkZLpQIMDzpltDq6nlG2Cv7kZufmNsYpfd1ZfEGEHsUdtHdA5+ur6IlzPtiyt0nv8llxkhpxNf1gMxJGMHgYEeVm9sI="
29+
distributions: "sdist bdist_wheel"
3030
on:
3131
tags: true
32-
repo: HEPData/hepdata-cli
32+
repo: HEPData/hepdata-cli
33+
edge: true # opt in to dpl v2

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ $ source ~/venv/hepdata-cli/bin/activate
4242
You can use HEPData-CLI both as a command-line interface (CLI) to search and download records from the HEPData database, or as a Python library to perform the same operations via its application program interface (API).
4343

4444

45-
# CLI
45+
## CLI
4646

4747
```code
4848
$ hepdata-cli [-v/--version, --help]
@@ -74,7 +74,7 @@ If not specified, the default download directory is ```./hepdata-downloads```.
7474
The ```hepdata-cli download/fetch-names``` and ```hepdata-cli find``` commands can be concatenated, if an ```IDTYPE``` is specified for ```find```.
7575
It is also possible to concatenate ```arxiv download```, from [pypi/arxiv-cli](https://pypi.org/project/arxiv-cli/), with ```hepdata-cli find```, if ```arxiv``` is used as ```IDTYPE```.
7676

77-
# API
77+
## API
7878

7979
Equivalently to the above, these commands can be invoked by the API (in fact, the CLI is just a wrapper around the API).
8080

0 commit comments

Comments
 (0)