forked from cloudify-cosmo/cloudify-manager-blueprints
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
33 lines (30 loc) · 1.06 KB
/
circle.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
machine:
python:
version: 2.7.9
checkout:
post:
- >
if [ -n "$CI_PULL_REQUEST" ]; then
PR_ID=${CI_PULL_REQUEST##*/}
git fetch origin +refs/pull/$PR_ID/merge:
git checkout -qf FETCH_HEAD
fi
dependencies:
override:
- pip install pip --upgrade
- pip install pytz
- pip install https://github.com/cloudify-cosmo/cloudify-rest-client/archive/master.zip
- pip install https://github.com/cloudify-cosmo/cloudify-dsl-parser/archive/master.zip
- pip install https://github.com/cloudify-cosmo/cloudify-plugins-common/archive/master.zip
- pip install https://github.com/cloudify-cosmo/cloudify-script-plugin/archive/1.5.zip
- pip install https://github.com/cloudify-cosmo/cloudify-cli/archive/master.zip
- pip install coverage==3.7.1
- pip install nose
- pip install nose-cov
- pip install mock
- pip install flake8
- pip install testtools
test:
override:
- case $CIRCLE_NODE_INDEX in 0) ./run_test.sh flake8 ;; 1) ./run_test.sh validate-blueprints ;; esac:
parallel: true