Skip to content

Commit 19697c2

Browse files
committed
Update daocloud.yml
1 parent 87805d8 commit 19697c2

File tree

1 file changed

+24
-16
lines changed

1 file changed

+24
-16
lines changed

Diff for: daocloud.yml

+24-16
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,26 @@
1-
image: daocloud/ci-python:2.7
1+
version: 2.0
22

3-
services:
4-
- mysql
5-
6-
env:
7-
- MYSQL_USERNAME="root"
8-
- MYSQL_PASSWORD=""
9-
- MYSQL_INSTANCE_NAME="test"
10-
11-
script:
12-
- pip install -r requirements.txt
13-
- nosetests test.py --with-xunit --xunit-file=$TEST_RESULT
14-
- coverage run --branch test.py
15-
- coverage xml -o $TEST_COVERAGE test.py
16-
- cat $TEST_RESULT
17-
- cat $TEST_COVERAGE
3+
test:
4+
image: daocloud/ci-python:2.7
5+
6+
services:
7+
- mysql
8+
9+
env:
10+
- MYSQL_USERNAME="root"
11+
- MYSQL_PASSWORD=""
12+
- MYSQL_INSTANCE_NAME="test"
13+
14+
script:
15+
- pip install -r requirements.txt
16+
- nosetests test.py --with-xunit --xunit-file=$TEST_RESULT
17+
- coverage run --branch test.py
18+
- coverage xml -o $TEST_COVERAGE test.py
19+
- cat $TEST_RESULT
20+
- cat $TEST_COVERAGE
1821

22+
build:
23+
image:
24+
dockerfile_path: Dockerfile
25+
build_dir: /
26+
cache: true

0 commit comments

Comments
 (0)