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
·44 lines (31 loc) · 754 Bytes
/
shippable.yml
File metadata and controls
executable file
·44 lines (31 loc) · 754 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
language: python
#build_image: shippableimages/ubuntu1204_python
python:
- 2.6
- 2.7
- 2.8
- 3.2
- 3.3
- 3.4
- 3.5
- pypy3
- pypy
#env:
#- FOO=foo
#- BAR=bar
#- TEST=test
install:
#- pip install -r requirements.txt
- if [[ $TRAVIS_PYTHON_VERSION == '3.2' ]]; then pip install coverage==3.7.1 codecov ; fi
# Make folders for the reports
before_script:
- mkdir -p shippable/testresults
- mkdir -p shippable/codecoverage
script:
- which python
- coverage run `which nosetests` test.py --with-xunit --xunit-file=shippable/testresults/nosetests.xml
- coverage xml -o shippable/codecoverage/coverage.xml
notifications:
email:
irc: "chat.freenode.net#test-irc"