-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathshippable.yml
More file actions
32 lines (28 loc) · 1.38 KB
/
shippable.yml
File metadata and controls
32 lines (28 loc) · 1.38 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
language: python
python:
- 2.7
install:
- pip install -r requirements.txt
env:
global:
- name=foo
# - secure: XW+pvD+0R/qL7QWxbTuyxfjou0fvC/bPZNkdXUfdzd61mDp/p828tn0zu6TIxImCVkCZvapJMAnJb50xR70iXUMLFhiIG+TinGfsLGJ9Fui/dRmH0nBtnwUuQwDoDasASTbJwBhhQo3l/6jFY1SEtCzOwIa0w1mgyuPk8XZTFGrn9Ik9SiFocEsUnhipC9jHHF5uiwbsB2GTQzNKYwgbwaqNYlMqhWLnZ3vGSm4dT5GdwUmu0GrzcKy8Bpk67V6EKUQFh7XWZkot/lIS7/IIVr+MTrejENOLv9sD2RT0AJSyDdTKVGjWA5stqylI+nKgbcFdpMwXtzVButTiRt3sDQ==
- secure: aQMTR6rpw+raH5ZjtBo5/wMjzQsfqEaJ2iciQhzqKbi53i/7BdGozeq4kZ9IhsOW4MLmqAXj1lIy6iGPwC0M3vFnQ115n7cyh5bxdLRbeZ9mBteCcdzOHOlCnLBFhOC7FztuIyZ/yxIf5jXlOme4jIcz1dlMTG8M4zlljLNjOnKAghCdnVceJmj61wcbjErfyDOEuYJnfrI+XAyG0fDc5Df0FLrZx3FNq7OroUp+/jr3Qd3Fb6F7Xjic3a4ZH71c/286jLBXveadeCOI5CqTxVPuscQ0Ye1YzBOzNkbwHMSw/CYKvIu1MVOT88baAqTNCpM7TCnfLUcOgcwxd/9LaQ==
before_script:
#- pip list
- echo $FOO
- echo $BAR
- echo $words
- mkdir -p shippable/testresults
- mkdir -p shippable/codecoverage
- mysql -e 'create database if not exists `project-test`;'
script:
- nosetests project-test.py --with-xunit --xunit-file=shippable/testresults/nosetests.xml
- which python && coverage run --branch project-test.py
- which python && coverage xml -o shippable/codecoverage/coverage.xml project-test.py
- echo $FOO
- echo $name
- echo $BAR
#after_success:
# - git push git@heroku.com:v2-heroku-test.git master
cache: true