forked from jumanjiman/ansible-security
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcircle.yml
More file actions
executable file
·33 lines (30 loc) · 824 Bytes
/
circle.yml
File metadata and controls
executable file
·33 lines (30 loc) · 824 Bytes
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
# https://circleci.com/docs/docker
machine:
environment:
BATS_VER: 0.4.0
services:
- docker
dependencies:
cache_directories:
- "~/deps"
pre:
# we check to see if BATS is cached otherwise pull it down
- if [[ ! -e ~/deps/bats_v${BATS_VER}.tar.gz ]]; then mkdir -p ~/deps; curl -sSL -o ~/deps/bats_v${BATS_VER}.tar.gz https://github.com/sstephenson/bats/archive/v${BATS_VER}.tar.gz; fi
- tar -xf ~/deps/bats_v${BATS_VER}.tar.gz
- sudo bats-${BATS_VER}/install.sh /usr/local
- sudo pip install pep8==1.6.2
- sudo pip install boto
override:
- docker info
- docker version
- make all
test:
override:
- make test
# https://circleci.com/docs/environment-variables
deployment:
master:
branch: master
owner: cleanerbot
commands:
- script/publish