forked from vidyar/sample_python_baseimage
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshippable.yml
More file actions
executable file
·70 lines (54 loc) · 1.36 KB
/
shippable.yml
File metadata and controls
executable file
·70 lines (54 loc) · 1.36 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
language: python
python:
- 3.4
# - 2.7
env:
global:
- FOO=FUBU
- M2=two
matrix:
- M1=ONE
build:
pre_ci_boot:
image_name: drydock/u12pyt
image_tag: tip
pull: true
options: '--privileged=true --net=bridge -e FOO=true -e BOO=false'
ci:
- ps -eax
- ls -al
- pip install -r requirements.txt
- mkdir -p shippable/testresults
- mkdir -p shippable/codecoverage
# - cp testresults2.xml ./shippable/testresults
- which python
- coverage run `which nosetests` test.py --with-xunit --xunit-file=shippable/testresults/nosetests.xml
- coverage xml -o shippable/codecoverage/coverage.xml
on_success:
- echo "build success"
on_failure:
- echo "build failed"
integrations:
notifications:
- integrationName: email
type: email
recipients:
- shiphitchcock2@gmail.com
# - vidya@shippable.com
- integrationName: ship-slack
type: slack
recipients:
- "#hitchcock1-public"
- pvt-channel
- "#builds-vr"
- integrationName: irc
type: irc
recipients:
- "chat.freenode.net#test-cock"
- "chat.freenode.net#hitchcok2-irc"
- integrationName: ship-hipchat
type: hipchat
recipients:
- "#pvt-room"
- "@shiphitchcock2"
- "#pub-room"