Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Plumed AlphaFold
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martin Kurečka
Plumed AlphaFold
Commits
338e01c7
There was an error fetching the commit references. Please try again later.
Commit
338e01c7
authored
5 years ago
by
Giovanni Bussi
Browse files
Options
Downloads
Patches
Plain Diff
test upload
@tonigi
parent
eb9d54ff
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.travis.yml
+2
-0
2 additions, 0 deletions
.travis.yml
conda/Makefile
+3
-0
3 additions, 0 deletions
conda/Makefile
conda/run-conda-build.sh
+0
-21
0 additions, 21 deletions
conda/run-conda-build.sh
conda/run-conda-upload.sh
+26
-0
26 additions, 0 deletions
conda/run-conda-upload.sh
with
31 additions
and
21 deletions
.travis.yml
+
2
−
0
View file @
338e01c7
...
...
@@ -263,3 +263,5 @@ after_success:
-
if test "$MAKEDOC" == yes ; then ./.travis/push doc ; fi
-
if test "$MAKECOVERAGE" == yes ; then ./.travis/push coverage ; fi
-
if test "$MAKECOVERAGE" == yes ; then bash <(curl -s https://codecov.io/bash) > /dev/null ; fi
# upload conda package
-
if test -n "$PLUMED_CONDA" && test -n "$TRAVIS_TAG" ; then make -C conda upload ; fi
This diff is collapsed.
Click to expand it.
conda/Makefile
+
3
−
0
View file @
338e01c7
...
...
@@ -8,6 +8,9 @@ all: build
build
:
bash run-conda-build.sh
upload
:
bash run-conda-upload.sh
# https://conda.io/docs/user-guide/tasks/use-conda-with-travis-ci.html
...
...
This diff is collapsed.
Click to expand it.
conda/run-conda-build.sh
+
0
−
21
View file @
338e01c7
...
...
@@ -26,24 +26,3 @@ conda-build recipe
ls
-l
$CONDA_HOME
/conda-bld/
ls
-l
$CONDA_HOME
/conda-bld/
$TRAVIS_OS_NAME
-64
# And now upload if desired
# conda upload $CONDA_HOME/conda-bld/linux-64/*.tar.bz2
# https://gist.github.com/zshaheen/fe76d1507839ed6fbfbccef6b9c13ed9
# https://conda.io/docs/user-guide/tasks/use-conda-with-travis-ci.html
# One could play with this, but perhaps best not to spam the channel repository
export
VERSION
=
`
date
+%Y.%m.%d
`
# Disabled because it fails
if
[[
-n
"
$CONDA_UPLOAD_TOKEN
"
]]
;
then
USER
=
plumed
# the conda channel
anaconda
-t
$CONDA_UPLOAD_TOKEN
upload
-u
$USER
-l
testing
\
$CONDA_HOME
/conda-bld/
$TRAVIS_OS_NAME
-64
/plumed
*
.tar.bz2
--force
fi
This diff is collapsed.
Click to expand it.
conda/run-conda-upload.sh
0 → 100644
+
26
−
0
View file @
338e01c7
#!/bin/bash
# Anywhere but outside of the repository
export
CONDA_HOME
=
/var/tmp/miniconda
if
[[
"
$TRAVIS_OS_NAME
"
==
"linux"
]]
;
then
csys
=
Linux
elif
[[
"
$TRAVIS_OS_NAME
"
==
"osx"
]]
;
then
csys
=
MacOSX
else
echo
"Unsupported system
$TRAVIS_OS_NAME
"
exit
1
fi
export
PATH
=
"
$CONDA_HOME
/bin:
$PATH
"
export
VERSION
=
$TRAVIS_TAG
# Disabled because it fails
if
[[
-n
"
$CONDA_UPLOAD_TOKEN
"
]]
;
then
USER
=
plumed
# the conda channel
anaconda
-t
$CONDA_UPLOAD_TOKEN
upload
-u
$USER
-l
testing
\
$CONDA_HOME
/conda-bld/
$TRAVIS_OS_NAME
-64
/plumed
*
.tar.bz2
--force
fi
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment