File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed
Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,10 @@ script:
1515 - lain config save-global private_docker_registry registry.lain.local
1616 - lain build
1717 - lain test
18+ - LAIN_APPNAME=console
19+ - LAIN_IMAGE_VERSION="$(git show -s --format=%ct $TRAVIS_COMMIT)-$TRAVIS_COMMIT"
20+ - ci_env=`bash <(curl -s https://codecov.io/env)`
21+ - docker run $c1_env --name console-build $LAIN_APPNAME:build-$LAIN_IMAGE_VERSION bash -c 'rm -rf * && yum install -y git hg && git clone https://github.com/laincloud/console && cd console && pip install codecov && pip install -r pip-req.txt && mkdir -p /lain/logs && CONSOLE_DEBUG=1 py.test --cov=./ && bash <(curl -s https://codecov.io/bash) && codecov --token=eea15d44-ae00-4757-af89-4b41cf8f26be'
1822
1923after_success :
2024 - LAIN_APPNAME=console
Original file line number Diff line number Diff line change 22
33[ ![ Build Status] ( https://travis-ci.org/laincloud/console.svg?branch=master )] ( https://travis-ci.org/laincloud/console )
44[ ![ MIT license] ( https://img.shields.io/github/license/mashape/apistatus.svg )] ( https://opensource.org/licenses/MIT )
5+ [ ![ codecov] ( https://codecov.io/gh/laincloud/console/branch/master/graph/badge.svg )] ( https://codecov.io/gh/laincloud/console )
56
67## 基本介绍
78LAIN Console 组件属于 LAIN 集群的 layer1 组件,是 sa/op/dev/testing 使用 LAIN 的控制台。LAIN Console 使用 Django 搭建,主要提供的功能包括:
Original file line number Diff line number Diff line change 2727 script :
2828 - mkdir /lain/logs/
2929 - make pylint test
30+ - CONSOLE_DEBUG=1 py.test --cov=.
3031
3132web :
3233 cmd : ./archon.sh
You can’t perform that action at this time.
0 commit comments