Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
kwant
tinyarray
Commits
e2d983a1
Commit
e2d983a1
authored
Jan 28, 2017
by
Bas Nijholt
Browse files
add automatic building of conda package
parent
c7bccd11
Pipeline
#2510
passed with stages
in 3 minutes and 19 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
e2d983a1
image
:
kwant/tinyarray-testing
stages
:
-
test
-
deploy
python2
:
script
:
-
python2 setup.py build_ext -i
-
python2 test_tinyarray.py
python3
:
script
:
-
python3 setup.py build_ext -i
...
...
@@ -23,3 +30,19 @@ mirror:
-
ORIGIN_URL=$(git config --get remote.origin.url)
-
cd $(mktemp -d); git clone --bare $ORIGIN_URL .
-
for REPO in $REPOS; do git push --mirror $REPO; done
create conda dev package
:
image
:
condaforge/linux-anvil
stage
:
deploy
only
:
-
master
script
:
-
git clone https://gitlab.kwant-project.org/kwant/conda-recipes.git
-
conda build -c conda-forge --python 3.4 conda-recipes/tinyarray-dev
-
conda build -c conda-forge --python 3.5 conda-recipes/tinyarray-dev
-
conda build -c conda-forge --python 3.6 conda-recipes/tinyarray-dev
-
mv /opt/conda/conda-bld/linux-64/tinyarray-dev*.tar.bz2 .
-
anaconda --token=$ANACONDA_TOKEN upload --force tinyarray-dev*tar.bz2
artifacts
:
paths
:
-
tinyarray-dev*.tar.bz2
Write
Preview
Supports
Markdown
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