Commit a7f5c1b9 authored by Elad Noor's avatar Elad Noor

CI now installs LFS instead of the default GitLab option

parent 00ed70e5
Pipeline #39258108 passed with stages
in 4 minutes and 20 seconds
image: python
stages:
- test
- deploy
- test
- deploy
before_script:
- pip install --upgrade pip setuptools tox
- pip install --upgrade pip setuptools tox
test35:
image: python:3.5
stage: test
image: python:3.5
variables:
GIT_DEPTH: "3"
script:
......@@ -20,8 +20,8 @@ test35:
# - bash <(curl -s https://codecov.io/bash)
test36:
image: python:3.6
stage: test
image: python:3.6
variables:
GIT_DEPTH: "3"
script:
......@@ -37,11 +37,19 @@ test36:
pypi:
stage: deploy
image: python:3.6
image: python:3.5
variables:
GIT_LFS_SKIP_SMUDGE: "1"
script:
- pip install --upgrade wheel twine
- python setup.py sdist bdist_wheel
- wget https://github.com/github/git-lfs/releases/download/v1.4.1/git-lfs-linux-amd64-1.4.1.tar.gz
- tar xf git-lfs-linux-amd64-1.4.1.tar.gz
- cd git-lfs-1.4.1/
- ./install.sh
- cd ..
- git lfs install
- git status
- python setup.py sdist bdist_wheel
- twine upload --username=$PYPI_USERNAME --password=$PYPI_PASSWORD --skip-existing dist/*
only:
- tags
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