-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
136 lines (136 loc) · 8.33 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
language: bash
services:
- docker
addons:
apt:
packages:
- expect
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
- cmake
- jq
jobs:
include:
- stage: test
script:
## Dockerized SHFMT on Shell scripts
- bash ./Travis/Scripts/shfmt.sh
## UptimeRobot Tests
#- expect ./Travis/Scripts/Expects/UptimeRobot/ur_api_key_expect.exp
#- bash ./Travis/Scripts/ur_prep.sh
#- sleep 60
#- bash ./Travis/Scripts/travis_tronitor.sh -m ur
#- bash ./Travis/Scripts/travis_tronitor.sh --monitor ur -c
#- bash ./Travis/Scripts/travis_tronitor.sh -m uptimerobot -x
#- bash ./Travis/Scripts/travis_tronitor.sh -h
#- bash ./Travis/Scripts/travis_tronitor.sh --help
#- bash ./Travis/Scripts/travis_tronitor.sh --monitor ur -p TravisOne
#- expect ./Travis/Scripts/Expects/UptimeRobot/ur_webhook_empty_expect_short.exp
#- bash ./Travis/Scripts/travis_tronitor.sh -m uptimerobot --webhook
#- bash ./Travis/Scripts/travis_tronitor.sh --monitor ur --list
#- bash ./Travis/Scripts/travis_tronitor.sh -m uptimerobot -n
#- bash ./Travis/Scripts/travis_tronitor.sh --monitor ur --no-prompt
#- bash ./Travis/Scripts/travis_tronitor.sh -m uptimerobot -c http
#- bash ./Travis/Scripts/travis_tronitor.sh --monitor ur --create ping
#- bash ./Travis/Scripts/travis_tronitor.sh -m uptimerobot -c port
#- bash ./Travis/Scripts/travis_tronitor.sh --monitor ur --create keyword
#- bash ./Travis/Scripts/travis_tronitor.sh -m uptimerobot -c foobar
#- bash ./Travis/Scripts/travis_tronitor.sh --monitor ur -a
#- bash ./Travis/Scripts/travis_tronitor.sh -m uptimerobot --alerts
#- bash ./Travis/Scripts/travis_tronitor.sh --monitor ur -s
#- bash ./Travis/Scripts/travis_tronitor.sh -m uptimerobot --stats
#- bash ./Travis/Scripts/travis_tronitor.sh --monitor ur -i 'travisone'
#- bash ./Travis/Scripts/travis_tronitor.sh -m uptimerobot --info 'travistwo'
#- expect ./Travis/Scripts/Expects/UptimeRobot/ur_delete_expect_short.exp
#- expect ./Travis/Scripts/Expects/UptimeRobot/ur_delete_expect_long.exp
#- bash ./Travis/Scripts/travis_tronitor.sh --monitor ur -p GooglePing
#- bash ./Travis/Scripts/travis_tronitor.sh -m uptimerobot --pause all
#- expect ./Travis/Scripts/Expects/UptimeRobot/ur_find_expect_short.exp
#- expect ./Travis/Scripts/Expects/UptimeRobot/ur_find_expect_long.exp
#- bash ./Travis/Scripts/travis_tronitor.sh --monitor ur -u all
#- bash ./Travis/Scripts/travis_tronitor.sh -m uptimerobot --unpause all
#- expect ./Travis/Scripts/Expects/UptimeRobot/ur_reset_expect_short.exp
#- expect ./Travis/Scripts/Expects/UptimeRobot/ur_reset_expect_long.exp
#- expect ./Travis/Scripts/Expects/UptimeRobot/ur_pause_invalid_expect.exp
#- expect ./Travis/Scripts/Expects/UptimeRobot/ur_cleanup.exp
## Reset the webhook var
#- sed -i "22s|.*|webhookUrl=''|" Travis/Scripts/travis_tronitor.sh
## StatusCake Tests
#- expect ./Travis/Scripts/Expects/StatusCake/sc_api_key_expect.exp
#- bash ./Travis/Scripts/sc_prep.sh
#- sleep 60
#- bash ./Travis/Scripts/travis_tronitor.sh -m sc
#- bash ./Travis/Scripts/travis_tronitor.sh --monitor sc -c
#- bash ./Travis/Scripts/travis_tronitor.sh -m statuscake -x
#- bash ./Travis/Scripts/travis_tronitor.sh -h
#- bash ./Travis/Scripts/travis_tronitor.sh --help
#- bash ./Travis/Scripts/travis_tronitor.sh --monitor sc -p TravisOne
#- expect ./Travis/Scripts/Expects/StatusCake/sc_webhook_empty_expect_short.exp
#- bash ./Travis/Scripts/travis_tronitor.sh -m statuscake --webhook
#- bash ./Travis/Scripts/travis_tronitor.sh --monitor sc --list
#- bash ./Travis/Scripts/travis_tronitor.sh -m statuscake -n
#- bash ./Travis/Scripts/travis_tronitor.sh --monitor sc --no-prompt
#- bash ./Travis/Scripts/travis_tronitor.sh -m statuscake -c http
#- bash ./Travis/Scripts/travis_tronitor.sh --monitor sc --create ping
#- bash ./Travis/Scripts/travis_tronitor.sh -m statuscake -c port
#- bash ./Travis/Scripts/travis_tronitor.sh --monitor sc --create keyword
#- bash ./Travis/Scripts/travis_tronitor.sh -m statuscake -c foobar
#- bash ./Travis/Scripts/travis_tronitor.sh --monitor sc -a
#- bash ./Travis/Scripts/travis_tronitor.sh -m statuscake --alerts
#- bash ./Travis/Scripts/travis_tronitor.sh --monitor sc -i 'travisone'
#- bash ./Travis/Scripts/travis_tronitor.sh -m statuscake --info 'travistwo'
#- expect ./Travis/Scripts/Expects/StatusCake/sc_delete_expect_short.exp
#- expect ./Travis/Scripts/Expects/StatusCake/sc_delete_expect_long.exp
#- bash ./Travis/Scripts/travis_tronitor.sh --monitor sc -p GooglePing
#- bash ./Travis/Scripts/travis_tronitor.sh -m statuscake --pause all
#- expect ./Travis/Scripts/Expects/StatusCake/sc_find_expect_short.exp
#- expect ./Travis/Scripts/Expects/StatusCake/sc_find_expect_long.exp
#- bash ./Travis/Scripts/travis_tronitor.sh --monitor sc -u all
#- bash ./Travis/Scripts/travis_tronitor.sh -m statuscake --unpause all
#- expect ./Travis/Scripts/Expects/StatusCake/sc_pause_invalid_expect.exp
#- expect ./Travis/Scripts/Expects/StatusCake/sc_cleanup.exp
## Reset the webhook var
#- sed -i "22s|.*|webhookUrl=''|" Travis/Scripts/travis_tronitor.sh
## HealthChecks Tests
#- expect ./Travis/Scripts/Expects/Healthchecks/hc_api_key_expect.exp
#- bash ./Travis/Scripts/hc_prep.sh
#- sleep 60
#- bash ./Travis/Scripts/travis_tronitor.sh -m hc
#- bash ./Travis/Scripts/travis_tronitor.sh --monitor hc -c
#- bash ./Travis/Scripts/travis_tronitor.sh -m healthchecks -x
#- bash ./Travis/Scripts/travis_tronitor.sh -h
#- bash ./Travis/Scripts/travis_tronitor.sh --help
#- bash ./Travis/Scripts/travis_tronitor.sh --monitor hc -p TravisOne
#- expect ./Travis/Scripts/Expects/Healthchecks/hc_webhook_empty_expect_short.exp
#- bash ./Travis/Scripts/travis_tronitor.sh -m healthchecks --webhook
#- bash ./Travis/Scripts/travis_tronitor.sh --monitor hc --list
#- bash ./Travis/Scripts/travis_tronitor.sh -m healthchecks -n
#- bash ./Travis/Scripts/travis_tronitor.sh --monitor hc --no-prompt
#- bash ./Travis/Scripts/travis_tronitor.sh -m healthchecks -c http
#- bash ./Travis/Scripts/travis_tronitor.sh --monitor hc --create ping
#- bash ./Travis/Scripts/travis_tronitor.sh -m healthchecks -c port
#- bash ./Travis/Scripts/travis_tronitor.sh --monitor hc --create keyword
#- bash ./Travis/Scripts/travis_tronitor.sh -m healthchecks -c foobar
#- bash ./Travis/Scripts/travis_tronitor.sh --monitor hc -a
#- bash ./Travis/Scripts/travis_tronitor.sh -m healthchecks --alerts
#- bash ./Travis/Scripts/travis_tronitor.sh --monitor hc -i 'travisone'
#- bash ./Travis/Scripts/travis_tronitor.sh -m healthchecks --info 'travistwo'
#- expect ./Travis/Scripts/Expects/Healthchecks/hc_delete_expect_short.exp
#- expect ./Travis/Scripts/Expects/Healthchecks/hc_delete_expect_long.exp
#- bash ./Travis/Scripts/travis_tronitor.sh --monitor hc -p GooglePing
#- bash ./Travis/Scripts/travis_tronitor.sh -m healthchecks --pause all
#- expect ./Travis/Scripts/Expects/Healthchecks/hc_find_expect_short.exp
#- expect ./Travis/Scripts/Expects/Healthchecks/hc_find_expect_long.exp
#- bash ./Travis/Scripts/travis_tronitor.sh --monitor hc -u all
#- bash ./Travis/Scripts/travis_tronitor.sh -m healthchecks --unpause all
#- expect ./Travis/Scripts/Expects/Healthchecks/hc_pause_invalid_expect.exp
#- expect ./Travis/Scripts/Expects/Healthchecks/hc_cleanup.exp
#after_success:
#- expect ./Travis/Scripts/Expects/UptimeRobot/ur_cleanup.exp
#- expect ./Travis/Scripts/Expects/StatusCake/sc_cleanup.exp
#- expect ./Travis/Scripts/Expects/Healthchecks/hc_cleanup.exp
#after_failure:
#- expect ./Travis/Scripts/Expects/UptimeRobot/ur_cleanup.exp
#- expect ./Travis/Scripts/Expects/StatusCake/sc_cleanup.exp
#- expect ./Travis/Scripts/Expects/Healthchecks/hc_cleanup.exp