-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (37 loc) · 956 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
---
language: python
python:
- '3.8'
install:
- pip3 install ansible molecule testinfra vagrant python-vagrant apache-libcloud urllib3==1.26.6 docker yamllint flake8 ansible-lint molecule-docker
services:
- docker
addons:
apt:
packages:
- docker-ce
env:
- DOCKER_USERNAME=23f03013e37f
script:
- find ~/ -name 'aasdhajkshd*'
- cd $HOME/build/aasdhajkshd/mongodb
- git version; ansible --version; molecule --version
- set
- docker --version
- molecule create
- molecule converge
- molecule verify
after_script:
- molecule destroy
before_install:
- sudo apt update && sudo apt install -y ansible unzip git vagrant
- git log -1 --format='%H'
- git config --local gc.auto 0
- git config --global --add safe.directory '*'
- mkdir -p $HOME/.ansible $HOME/ansible
- ls -Alh $HOME/bin/; ls -Alh $HOME/
- export PATH="${BIN}:$PATH"; echo $PATH
notifications:
email:
on_success: change
on_failure: always