mirror of
https://github.com/zardus/ctf-tools
synced 2024-12-12 14:02:33 +00:00
11 lines
301 B
Bash
Executable file
11 lines
301 B
Bash
Executable file
#!/bin/bash -ex
|
|
|
|
tmpfile=/logs/travis.log
|
|
|
|
# Fetch data
|
|
(
|
|
for i in $(travis show --skip-completion-check --no-interactive | grep '^#' | awk '{print $1}' | tr "#" " ");
|
|
do
|
|
travis logs --skip-completion-check --no-interactive "$i" | grep '^\[ACCOUNTING\]=====\[' | cut -d' ' -f2-5
|
|
done
|
|
) > $tmpfile
|