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
053f0863
Commit
053f0863
authored
Oct 14, 2019
by
Gao, Xiang
Committed by
Farhad Ramezanghorbani
Oct 14, 2019
Browse files
Cleanup files for azure pipelines (#333)
parent
9720a10a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
84 deletions
+0
-84
azure/deploy-docs.yml
azure/deploy-docs.yml
+0
-48
azure/deploy-pypi.yml
azure/deploy-pypi.yml
+0
-36
No files found.
azure/deploy-docs.yml
deleted
100644 → 0
View file @
9720a10a
queue
:
name
:
Hosted Ubuntu
1604
timeoutInMinutes
:
6000
variables
:
python.version
:
'
3.7'
trigger
:
batch
:
true
branches
:
include
:
-
master
pr
:
none
steps
:
-
task
:
UsePythonVersion@0
displayName
:
'
Use
Python
$(python.version)'
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
h5py
pytorch-ignite
tb-nightly
sphinx
sphinx_rtd_theme
matplotlib
pillow
sphinx-gallery
&&
pip
install
.'
displayName
:
'
Install
dependencies'
-
script
:
'
./download.sh'
displayName
:
'
Download
data
files'
-
script
:
'
sphinx-build
docs
build'
displayName
:
Build documents
-
script
:
'
mkdir
-p
~/.ssh
&&
echo
$(deploy_privatekey)
|
base64
-d
>
~/.ssh/id_rsa
&&
chmod
0600
~/.ssh/id_rsa
&&
echo
$(deploy_pubkey)
>
~/.ssh/id_rsa.pub'
displayName
:
Set up deploy keys
-
script
:
'
ssh-keyscan
-t
rsa
github.com
>>
~/.ssh/known_hosts
&&
git
config
--global
user.email
"zasdfgbnm-bot@example.com"
&&
git
config
--global
user.name
"zasdfgbnm-bot"'
displayName
:
Set up github
-
script
:
'
git
clone
git@github.com:aiqm/torchani.git
deploy_dir
-b
gh-pages'
displayName
:
Clone gh-pages repository
-
script
:
'
rm
-rf
deploy_dir/*
&&
cp
-r
build/*
deploy_dir'
displayName
:
Replace with new files
-
script
:
'
cd
deploy_dir
&&
git
add
.
&&
git
commit
-m
"update"
&&
git
push'
displayName
:
Deploy
azure/deploy-pypi.yml
deleted
100644 → 0
View file @
9720a10a
queue
:
name
:
Hosted Ubuntu
1604
timeoutInMinutes
:
6000
trigger
:
batch
:
true
branches
:
include
:
-
master
pr
:
none
variables
:
python.version
:
'
3.7'
steps
:
-
task
:
UsePythonVersion@0
displayName
:
'
Use
Python
$(python.version)'
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
nose
coverage
twine
wheel'
displayName
:
'
Install
dependencies'
-
script
:
'
./download.sh'
displayName
:
'
Download
data
files'
-
script
:
'
python
setup.py
nosetests'
displayName
:
Unit tests
-
script
:
'
python
setup.py
bdist
bdist_wheel
&&
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