Skip to content

Commit 2b2e8e4

Browse files
committed
Merge pull request cloudify-cosmo#26 from cloudify-cosmo/circle-update
update circle.yml to deal with PR and add circle icon to README.md file
2 parents 34d8e96 + 123eaaf commit 2b2e8e4

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Cloudify Script Plugin
22

3+
* Master [![Circle CI](https://circleci.com/gh/cloudify-cosmo/cloudify-script-plugin/tree/master.svg?style=shield)](https://circleci.com/gh/cloudify-cosmo/cloudify-script-plugin/tree/master)
34
* Master Branch [![Build Status](https://travis-ci.org/cloudify-cosmo/cloudify-script-plugin.svg?branch=master)](https://travis-ci.org/cloudify-cosmo/cloudify-script-plugin)
45
* PyPI [![PyPI](http://img.shields.io/pypi/dm/cloudify-script-plugin.svg)](http://img.shields.io/pypi/dm/cloudify-script-plugin.svg)
56
* Version [![PypI](http://img.shields.io/pypi/v/cloudify-script-plugin.svg)](http://img.shields.io/pypi/v/cloudify-script-plugin.svg)

circle.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,17 @@ machine:
22
python:
33
version: 2.7.9
44

5-
dependencies:
5+
checkout:
66
post:
7+
- >
8+
if [ -n "$CI_PULL_REQUEST" ]; then
9+
PR_ID=${CI_PULL_REQUEST##*/}
10+
git fetch origin +refs/pull/$PR_ID/merge:
11+
git checkout -qf FETCH_HEAD
12+
fi
13+
14+
dependencies:
15+
pre:
716
- pyenv local 2.7.9 2.6.8
817
override:
918
- pip install tox

0 commit comments

Comments
 (0)