Use 'language: generic' for shellcheck, fix typo, correct indentation
This commit is contained in:
parent
59c9a2b243
commit
4467f51e42
@ -53,6 +53,7 @@ matrix:
|
||||
python: null
|
||||
node_js: "lts/*"
|
||||
- os: linux
|
||||
language: generic
|
||||
env: TESTENV=shellcheck
|
||||
services: docker
|
||||
fast_finish: true
|
||||
|
@ -57,7 +57,7 @@ notice () {
|
||||
|
||||
# Update a database of a feed and open new URLs
|
||||
read_items () {
|
||||
cd read_urls || return
|
||||
cd read_urls || return 1
|
||||
feed_file="$(echo "$1" | tr -d /)"
|
||||
feed_temp_file="$(mktemp "$feed_file.tmp.XXXXXXXXXX")"
|
||||
feed_new_items="$(mktemp "$feed_file.new.XXXXXXXXXX")"
|
||||
@ -85,7 +85,7 @@ if [ ! -d "$config_dir/read_urls" ]; then
|
||||
mkdir -p "$config_dir/read_urls"
|
||||
fi
|
||||
|
||||
cd "$config_dir" || exit
|
||||
cd "$config_dir" || exit 1
|
||||
|
||||
if [ $# != 0 ]; then
|
||||
for arg in "$@"; do
|
||||
|
@ -22,7 +22,7 @@ elif [[ $TESTENV == shellcheck ]]; then
|
||||
IFS=" " read -r -a scripts <<< "$dev_scripts $userscripts"
|
||||
docker run \
|
||||
-v "$PWD:/outside" \
|
||||
-w /outside \
|
||||
-w /outside \
|
||||
koalaman/shellcheck:latest "${scripts[@]}"
|
||||
else
|
||||
args=()
|
||||
|
Loading…
Reference in New Issue
Block a user