-
Notifications
You must be signed in to change notification settings - Fork 86
Expand file tree
/
Copy pathshippable.yml
More file actions
executable file
·41 lines (33 loc) · 888 Bytes
/
shippable.yml
File metadata and controls
executable file
·41 lines (33 loc) · 888 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
language: python
#build_image: shippable/minv2:beta
python:
- 3.2
before_install:
#- source ~/.rvm/scripts/rvm && rvm use 1.9.2
- pip install coverage==3.7.1 codecov
#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
#testing