forked from michalkoczwara/DevSecOps-Studio
-
Notifications
You must be signed in to change notification settings - Fork 8
/
.travis.yml
39 lines (31 loc) · 771 Bytes
/
.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
36
37
38
39
sudo: required
language: python
cache:
directories:
- $HOME/.cache/pip
before_cache:
- rm -f $HOME/.cache/pip/log/debug.log
env:
- test=devsecops
- test=jenkins
- test=gitlab
- test=gitlab-runner
- test=elk
- test=prod
services:
- docker
before_install:
- sudo cat /proc/cpuinfo
- sudo cat /proc/meminfo
- sudo free -m
- sudo apt-get -q update
- sudo DEBIAN_FRONTEND=noninteractive apt-get install -q -y docker-ce
- ssh-keygen -f id_rsa -t rsa -b 4096 -C "[email protected]" -N ''
install:
- pip install docker-py
- pip install molecule==2.4.0
script:
- cd provisioning && molecule $DEBUG test -s $test
matrix:
allow_failures:
- env: test=gitlab # Docker has some issue with gitlab reconfigure, works fine in VM