forked from cloudify-cosmo/cloudify-dsl-parser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (35 loc) · 1.04 KB
/
.travis.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
sudo: false
language: python
python:
- "2.7"
env:
- TOX_ENV=docs
- TOX_ENV=flake8
- TOX_ENV=py27
- TOX_ENV=py26
install:
- pip install tox==1.6.1
script:
- tox -e $TOX_ENV
deploy:
- provider: pypi
server: https://pypi.python.org/pypi
on:
branch: pypi-release
condition: $TOX_ENV = py27
user: cosmo-maint
password:
secure: "N3cbKuM6HqwPf3R9Ua8vVC0seY6qUxjlVl++qZ/1pIN78p+/Yul1aVkkMPNPksEHC6pivGDPqMajuwD6HYXTm7MpbNZezznSDtjqS5uTFCb6CYsMDuFfv00G99rReAFl9ONwM6OLhbWXcOHVSlzHe5puBK0Kj4u0tbTfeSrumA4="
- provider: pypi
server: https://testpypi.python.org/pypi
on:
branch: pypi-test
condition: $TOX_ENV = py27
user: cosmo-maint
password:
secure: "fNhXKwg0tQuj/g01pEVb5eO/yne8wf3Svdgf05m0r9nLaU7eiXmkW1CcbDpdgEoXTh6q0dsstcY0lzgitDYOgqf288eLcafDW94u54imzR+TJkDipmPGbMSKOPXT4d0r40ACV0J72F79O7UysfoDCgpDb+8ujM7QC5EzMQGfxpo="
after_deploy:
- git clone https://github.com/cloudify-cosmo/travis-utils.git
- python travis-utils/validate_pypi.py -v -b $TRAVIS_BRANCH || exit 1
notifications:
flowdock: 1f4ec6febcf1ac9b35ae6c1f0049471f