File tree 1 file changed +24
-16
lines changed
1 file changed +24
-16
lines changed Original file line number Diff line number Diff line change 1
- image : daocloud/ci-python:2.7
1
+ version : 2.0
2
2
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
18
21
22
+ build :
23
+ image :
24
+ dockerfile_path : Dockerfile
25
+ build_dir : /
26
+ cache : true
You can’t perform that action at this time.
0 commit comments