Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
torchani
Commits
02cbf03d
Unverified
Commit
02cbf03d
authored
Dec 17, 2018
by
Gao, Xiang
Committed by
GitHub
Dec 17, 2018
Browse files
Make PYPI deploy work (#159)
parent
3d5a7b8a
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
3 deletions
+12
-3
README.md
README.md
+2
-1
azure/deploy-docs.yml
azure/deploy-docs.yml
+3
-0
azure/deploy-pypi.yml
azure/deploy-pypi.yml
+7
-2
No files found.
README.md
View file @
02cbf03d
...
...
@@ -11,9 +11,10 @@ Build:
[

](https://codecov.io/gh/aiqm/torchani)
[

](https://lgtm.com/projects/g/aiqm/torchani/alerts/)
Deploy:
Deploy
(these builds only succeed on tagged commits)
:
[

](https://zasdfgbnm.visualstudio.com/torchani/_build/latest?definitionId=9?branchName=master)
[

](https://zasdfgbnm.visualstudio.com/torchani/_build/latest?definitionId=10?branchName=master)
TorchANI is a pytorch implementation of ANI. It is currently under alpha release, which means, the API is not stable yet. If you find a bug of TorchANI, or have some feature request, feel free to open an issue on GitHub, or send us a pull request.
...
...
azure/deploy-docs.yml
View file @
02cbf03d
...
...
@@ -20,6 +20,9 @@ steps:
inputs
:
versionSpec
:
'
$(python.version)'
-
script
:
'
git
describe
--exact-match
--tags
HEAD'
displayName
:
'
Fail
build
on
non-release
commits'
-
script
:
'
azure/install_dependencies.sh
&&
pip
install
sphinx
sphinx_rtd_theme
matplotlib
pillow
sphinx-gallery
&&
pip
install
.'
displayName
:
'
Install
dependencies'
...
...
azure/deploy-pypi.yml
View file @
02cbf03d
...
...
@@ -8,6 +8,8 @@ trigger:
include
:
-
master
pr
:
none
variables
:
python.version
:
'
3.7'
...
...
@@ -18,11 +20,14 @@ steps:
inputs
:
versionSpec
:
'
$(python.version)'
-
script
:
'
azure/install_dependencies.sh
&&
pip
install
nose
coverage'
-
script
:
'
git
describe
--exact-match
--tags
HEAD'
displayName
:
'
Fail
build
on
non-release
commits'
-
script
:
'
azure/install_dependencies.sh
&&
pip
install
nose
coverage
twine'
displayName
:
'
Install
dependencies'
-
script
:
'
python
setup.py
nosetests'
displayName
:
Unit tests
-
script
:
'
echo
TODO:
deploy
to
PYPI
'
-
script
:
'
python
setup.py
sdist
&&
twine
upload
-u
$(pypi_username)
-p
$(pypi_password)
dist/*
'
displayName
:
PYPI deploy
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment