forked from ramses-tech/ramses
-
Notifications
You must be signed in to change notification settings - Fork 0
/
shippable.yml
32 lines (27 loc) · 830 Bytes
/
shippable.yml
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
language: python
python:
- 3.3
- 3.4
- 3.5
env:
global:
- PYTHONHASHSEED=0 #NEEDED?
build:
ci:
- if [ "$BRANCH" == "develop" ]; then pip install -r requirements.dev; fi
- if [ "$BRANCH" != "develop" ]; then pip install -r requirements.txt; fi
- pip install -U pytest
- mkdir -p shippable/testresults
- mkdir -p shippable/codecoverage
- pytest --cov-report xml:shippable/codecoverage/cov.xml --cov-report term --cov ramses tests --junit-xml=shippable/testresults/results.xml
integrations:
notifications:
- integrationName: email
type: email
recipients:
#- cerri_be_devs@cerri.com
- blaurent@cerri.com
on_start: false
on_success: false
on_failure: true
on_pull_request: true