forked from ksator/junos-automation-with-ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
85 lines (76 loc) · 3.52 KB
/
.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
language: python
python:
- 2.7
sudo: required
dist: trusty
env:
#- ANSIBLE_VERSION=1.9.4
- ANSIBLE_VERSION=2.1.1.0
- ANSIBLE_VERSION=2.1.4.0
- ANSIBLE_VERSION=2.2.1.0
before_install:
- sudo apt-get install -y python-dev libxml2-dev python-pip libxslt1-dev build-essential libssl-dev libffi-dev
install:
- pip install -r requirements.txt
- pip install -q ansible==$ANSIBLE_VERSION
- ansible-galaxy --force install Juniper.junos -p ./
script:
- ansible-playbook assemble/pb.yml
- ansible-playbook apt/pb.yml --syntax-check
- ansible-playbook debug/pb.yml --syntax-check
- ansible-playbook debug/pb.verbose.yml --syntax-check
- ansible-playbook junos_install_conf/pb.yml --syntax-check
- ansible-playbook junos_cli/pb.txt.yml --syntax-check
- ansible-playbook junos_cli/pb.xml.yml --syntax-check
- ansible-playbook junos_command/pb.check_lldp.yml --syntax-check
- ansible-playbook junos_command/pb.check.physical.topology.yml --syntax-check
- ansible-playbook junos_command/pb.check.bgp.yml --syntax-check
- ansible-playbook junos_command/pb.check.bgp_2.yml --syntax-check
- ansible-playbook junos_command/pb.check.vlans.yml --syntax-check
- ansible-playbook junos_command/pb.check.routes.yml --syntax-check
- ansible-playbook junos_command/pb.check.routes.2.yml --syntax-check
- ansible-playbook junos_command/pb.check.routes.3.yml --syntax-check
- ansible-playbook junos_command/pb.yml --syntax-check
- ansible-playbook junos_command/pb.rpc.yml --syntax-check
- ansible-playbook junos_command/pb.rpc3.yml --syntax-check
- ansible-playbook junos_commit/pb.yml --syntax-check
- ansible-playbook junos_config/pb.yml --syntax-check
- ansible-playbook junos_config/pb.vlans.yml --syntax-check
- ansible-playbook junos_config/pb.rollback.yml --syntax-check
- ansible-playbook junos_facts/pb.facts.yml --syntax-check
- ansible-playbook junos_facts/pb.conf.yml --syntax-check
- ansible-playbook junos_facts/pb.conf_json_and_xml.yml --syntax-check
- ansible-playbook junos_facts/pb.conf.txt.yaml --syntax-check
- ansible-playbook junos_get_config/pb.make_clean.yml --syntax-check
- ansible-playbook junos_get_config/pb.yml --syntax-check
- ansible-playbook junos_get_config/pb.2.yml --syntax-check
- ansible-playbook junos_get_facts/pb.yml --syntax-check
- ansible-playbook junos_netconf/pb.yml --syntax-check
- ansible-playbook junos_package/pb.yml --syntax-check
- ansible-playbook junos_ping/pb.yml --syntax-check
- ansible-playbook junos_rpc/pb.yml --syntax-check
- ansible-playbook junos_rpc/pb.2.yml --syntax-check
- ansible-playbook junos_shutdown/pb.yml --syntax-check
- ansible-playbook junos_template/pb.change_dns_servers.yml --syntax-check
- ansible-playbook junos_template/pb.bgp.yml --syntax-check
- ansible-playbook junos_template/pb.bgp.2.yml --syntax-check
- ansible-playbook junos_rollback/pb.yml --syntax-check
- ansible-playbook lookup/pb.yml
- ansible-playbook slack/pb.yml --syntax-check
- ansible-playbook template/pb.initial_configuration.yml
- ansible-playbook template/pb.common_settings.yml
- ansible-playbook template/pb.bgp.yml
- ansible-playbook template/pb.load_cfg_from_template.yml --syntax-check
- ansible-playbook template/pb.load_cfg_from_template.replace.yml --syntax-check
- ansible-playbook uri/pb.yml --syntax-check
- ansible-playbook wait_for/pb.yml --syntax-check
branches:
only:
- master
notifications:
email:
recipients:
on_failure: always
slack:
ksator-junos:XAUJP6A29mgYtUtGIJQdPBS7