1 Star 0 Fork 17

陌小皓521/docker-registry

forked from Calvin/docker-registry 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 901 Bytes
一键复制 编辑 原始数据 按行查看 历史
language: python
python:
- "2.6"
- "2.7"
before_install:
- sudo apt-get update
- sudo apt-get install redis-server
- sudo apt-get install libevent-dev liblzma-dev libssl-dev
- sudo apt-get install swig
install:
## This below should be separated when core lives elsewhere
# Install core tests reqs
- pip install -rdepends/docker-registry-core/requirements/test.txt
- pip install -rdepends/docker-registry-core/requirements/style.txt
# Install core itself
- pip install depends/docker-registry-core/
# Install our tests requirements, and ourselves
- pip install -r requirements/test.txt
- pip install .
before_script:
- redis-server &
script:
- SETTINGS_FLAVOR=test DOCKER_REGISTRY_CONFIG=config_sample.yml flake8
- SETTINGS_FLAVOR=test DOCKER_REGISTRY_CONFIG=config_sample.yml python setup.py nosetests
- cd depends/docker-registry-core && python setup.py nosetests
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/MXH521/docker-registry.git
git@gitee.com:MXH521/docker-registry.git
MXH521
docker-registry
docker-registry
master

搜索帮助