forked from buildsample/sample_python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshippable.yml
More file actions
executable file
·46 lines (36 loc) · 880 Bytes
/
shippable.yml
File metadata and controls
executable file
·46 lines (36 loc) · 880 Bytes
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
38
39
40
41
42
43
44
45
46
language: python
#build_image: shippable/minv2:beta
python:
- 2.6
- 2.7
- 3.2
- 3.3
- 3.4
# - pypy
before_install:
- source ~/.rvm/scripts/rvm && rvm use 1.9.2
install:
- pip install -r requirements.txt
# Make folders for the reports
before_script:
- mkdir -p shippable/testresults
- mkdir -p shippable/codecoverage
- git --version
script:
- nosetests test.py --with-xunit --xunit-file=shippable/testresults/nosetests.xml
- which python && coverage run --branch test.py
- which python && coverage xml -o shippable/codecoverage/coverage.xml test.py
- echo $BUILD_NUMBER
- echo $BUILD_URL
- echo $BRANCH
archive: true
notifications:
email:
recipients:
- vidya@shippable.com
- exampletwo@org.com
on_success: change
on_failure: always
#test
#cache: true
parallelized_test : true