-
Notifications
You must be signed in to change notification settings - Fork 42
/
wercker.yml
44 lines (36 loc) · 856 Bytes
/
wercker.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
33
34
35
36
37
38
39
40
41
42
43
44
box:
id: biosustain/cameo-wercker-box
username: $USERNAME
password: $PASSWORD
tag: latest
services:
- redis
build:
steps:
- script:
name: env
code: |
env
- script:
name: run tests for Python 3.4
code: |
source activate cameo3.4
pip install .
nosetests
codecov --token=$CODECOV_TOKEN
- script:
name: run tests for Python 2.7
code: |
source activate cameo2.7
pip install .
nosetests
codecov --token=$CODECOV_TOKEN
deploy:
PyPI: # this is triggered if master branch
- script:
name: deploy to PyPI
code: |
source activate cameo3.4
pip install twine
python setup.py sdist
twine upload -u $PYPI_USERNAME -p $PYPI_PASSWD dist/*