File tree Expand file tree Collapse file tree 2 files changed +19
-9
lines changed Expand file tree Collapse file tree 2 files changed +19
-9
lines changed Original file line number Diff line number Diff line change 1
- sudo : false
1
+ sudo : required
2
2
language : bash
3
- addons :
4
- apt :
5
- sources :
6
- - debian-sid
7
- packages :
8
- - shellcheck
3
+ services :
4
+ - docker
5
+
9
6
script :
10
7
- " ./citest"
8
+
11
9
notifications :
12
10
email : false
13
11
pushover :
Original file line number Diff line number Diff line change 2
2
3
3
set -euo pipefail
4
4
5
+ cd " $( dirname " $0 " ) "
6
+
5
7
bash_scripts=(
6
8
yank.tmux
7
9
scripts/* .sh
8
10
)
9
11
10
- bash -Dn " ${bash_scripts[@]} "
12
+ set -x
13
+ docker run \
14
+ --rm \
15
+ --volume=" ${PWD} :/mnt:ro" \
16
+ --workdir=" /mnt" \
17
+ bash:latest \
18
+ bash -Dn " ${bash_scripts[@]} "
11
19
12
- shellcheck \
20
+ docker run \
21
+ --rm \
22
+ --volume=" ${PWD} :/mnt:ro" \
23
+ --workdir=" /mnt" \
24
+ koalaman/shellcheck:stable \
13
25
--shell=bash \
14
26
--external-sources \
15
27
--color=always \
You can’t perform that action at this time.
0 commit comments