-
Notifications
You must be signed in to change notification settings - Fork 1
/
nosetests.yaml
37 lines (31 loc) · 1.01 KB
/
nosetests.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# For a repository named AhmedHanafy725/test_zeroci
jobs:
- name: Generate Bin
prerequisites:
image_name: ubuntu:18.04
shell_bin: /bin/sh
install: |
apt-get update
apt-get install -y python3.6 python3-pip
pip3 install nose
script:
- name: Tests Bin
cmd: |
nosetests --help
- name: Smiple Tests With Nosetest
cmd: |
cd /zeroci/code/vcs_repos/AhmedHanafy725/test_zeroci
nosetests -v testcase.py --with-xunit --xunit-file=/test.xml --xunit-testsuite-name=Simple_nosetest
bin_path: /usr/local/bin/nosetests
- name: Use Bin
prerequisites:
image_name: ubuntu:18.04
shell_bin: /bin/sh
install: |
apt-get update
apt-get install -y python3.6 python3-pip
script:
- name: Test nosetests Bin
cmd: |
cd /zeroci/code/vcs_repos/AhmedHanafy725/test_zeroci
/zeroci/bin/nosetests -v testcase.py --with-xunit --xunit-file=/test.xml --xunit-testsuite-name=Simple_nosetest