1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/didiopensource-MEEP

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
.gitlab-ci.yml 878
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
Christopher Chu Отправлено 06.09.2020 04:12 53a55fc
stages:
- build
- test
cache:
paths:
- env
build:
stage: build
script:
# Commands to run tests on our server
# Workaround for Ubuntu python that doesn't include ensurepip
- python3.6 -m venv env --without-pip
- source env/bin/activate
# Download get-pip script if necessary. Only needs to be done once per machine
# curl https://bootstrap.pypa.io/get-pip.py -o /home/shared/scripts/get-pip.py
# Run get-pip
- python /home/shared/scripts/get-pip.py
# `which pip` should show the version in your environment
- pip install -r requirements-full.txt
# Can set up frontend, but we don't have tests for this yet
# - cd ../../gui/frontend
# - npm install
only:
- master
test:
stage: test
script:
- source env/bin/activate
- cd gui/backend
- python -m unittest discover
only:
- master

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/didiopensource-MEEP.git
git@api.gitlife.ru:oschina-mirror/didiopensource-MEEP.git
oschina-mirror
didiopensource-MEEP
didiopensource-MEEP
master