Commit 90d407cf authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

Merge branch 'rel/0.8.0' into 'v0.8'

CI: Test building/installing pypi dist

See merge request fsl/fsleyes/widgets!40
parents 37f38d8e 69c5a8ff
#!/bin/bash
pip install wheel
set -e
source /test.venv/bin/activate
pip install wheel setuptools twine
python setup.py sdist
python setup.py bdist_wheel
twine check dist/*
PIPARGS="--retries 10 --timeout 30"
pip install dist/*.whl
pip uninstall -y fsleyes-widgets
pip install dist/*.tar.gz
pip uninstall -y fsleyes-widgets
......@@ -157,6 +157,17 @@ test:3.7:
image: pauldmccarthy/fsleyes-py37-wxpy4-gtk2
<<: *test_template
test:build-pypi-dist:
stage: test
image: pauldmccarthy/fsleyes-py36-wxpy4-gtk2
<<: *except_releases
tags:
- docker
script:
- source /test.venv/bin/activate
- bash ./.ci/build_pypi_dist.sh
#############
......@@ -204,7 +215,7 @@ build-pypi-dist:
<<: *check_version
stage: build
image: python:3.5
image: pauldmccarthy/fsleyes-py36-wxpy4-gtk2
tags:
- docker
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment