Commit f8c67ab1 authored by Martino Bertoni's avatar Martino Bertoni 🌋
Browse files

fixing CI cache

parent 53499a48
image: continuumio/miniconda3:latest
before_script:
- python --version
- conda create --no-default-packages -n signaturizer_env -y python
- source activate signaturizer_env
- conda install -c conda-forge -y rdkit
- pip install -r requirements.txt
stages:
- build
- test
- test_deploy
- deploy
build_enviroment:
stage: build
script:
- python --version
- export PIP_CACHE_DIR="/opt/cache/pip"
- conda create --no-default-packages -n signaturizer_env -y python
- source activate signaturizer_env
- conda install -c conda-forge -y rdkit
- pip install -r requirements.txt
unittest:
stage: test
script:
......@@ -21,7 +26,7 @@ unittest:
- pytest
pypi_deploy_test:
stage: deploy
stage: test_deploy
cache: {}
script:
- pip install -U twine
......@@ -36,6 +41,6 @@ pypi_deploy:
script:
- pip install -U twine
- python setup.py sdist
- twine upload --verbose --repository-url https://pypi.org/legacy/ dist/*
- twine upload --verbose dist/*
only:
- tags
\ No newline at end of file
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