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

OSCHINA-MIRROR/lmy0217-FashionAI

Клонировать/Скачать
circle.yml 1.7 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
unknown Отправлено 24.03.2018 11:23 8ae227b
# Python CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-python/ for more details
#
version: 2
jobs:
build:
docker:
# specify the version you desire here
# use `-browsers` prefix for selenium tests, e.g. `3.6.1-browsers`
- image: circleci/python:3.6.1
# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
# - image: circleci/postgres:9.4
working_directory: ~/repo
steps:
- checkout
# Download and cache dependencies
- restore_cache:
keys:
- v1-dependencies-{{ checksum "requirements.txt" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-
- run:
name: install dependencies
command: |
python3 -m venv venv
. venv/bin/activate
pip3 install -r requirements.txt
pip3 install http://download.pytorch.org/whl/cpu/torch-0.3.1-cp36-cp36m-linux_x86_64.whl
pip3 install torchvision
- save_cache:
paths:
- ./venv
key: v1-dependencies-{{ checksum "requirements.txt" }}
# run tests!
# this example uses Django's built-in test-runner
# other common Python testing frameworks include pytest and nose
# https://pytest.org
# https://nose.readthedocs.io
- run:
name: run tests
command: |
. venv/bin/activate
python3 -m main --no-cuda --ci
python3 -m evaluate --no-cuda --ci
- store_artifacts:
path: test-reports
destination: test-reports

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

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

1
https://api.gitlife.ru/oschina-mirror/lmy0217-FashionAI.git
git@api.gitlife.ru:oschina-mirror/lmy0217-FashionAI.git
oschina-mirror
lmy0217-FashionAI
lmy0217-FashionAI
master