提交 38f329ef 编辑于 作者: Mijian Xu's avatar Mijian Xu 😷
浏览文件

更新.gitlab-ci.yml

上级 06d22388
流水线 #727 已失败
# This file is a template, and might need editing before it works on your project.
# Official language image. Look for the different tagged releases at:
# https://hub.docker.com/r/library/python/tags/
image: continuumio/miniconda3:latest
# Change pip's cache directory to be inside the project directory since we can
# only cache local items.
variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache"
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
# Pip's cache doesn't store the python packages
# https://pip.pypa.io/en/stable/reference/pip_install/#caching
#
# If you want to also cache the installed packages, you have to install
# them in a virtualenv and cache it as well.
cache:
paths:
- .cache/pip
- venv/
variables:
TWINE_USERNAME: xumi1993
TWINE_PASSWORD: Nanwai99
before_script:
- conda config --set always_yes yes
- - conda config --set always_yes yes
- conda update -q conda
- conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/free/
- conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/main/
\ No newline at end of file
- conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/main/
- conda config --add channels conda-forge
# - conda config --add channels https://mirrors.ustc.edu.cn/anaconda/cloud/conda-forge/
- pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
- conda info -a
# test:
# script:
# - python setup.py test
# - pip install tox flake8 # you can also use tox
# - tox -e py36,flake8
py37:
script:
- python setup.py sdist
# an alternative approach is to install and run:
- twine upload dist/*
# run the command here
artifacts:
paths:
- dist/*.whl
Supports Markdown
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册