mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-17 05:04:21 +01:00
fix travis (#219)
* fix travis * Update .travis.yml * Update run.sh * Update .travis.yml * Update .travis.yml
This commit is contained in:
16
.travis.yml
16
.travis.yml
@@ -1,19 +1,19 @@
|
||||
language: bash
|
||||
|
||||
# Use container-based infrastructure for quicker build start-up
|
||||
sudo: false
|
||||
sudo: required
|
||||
service: docker
|
||||
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
- debian-sid # Grab shellcheck from the Debian repo (o_O)
|
||||
packages:
|
||||
- shellcheck
|
||||
- jq
|
||||
- docker-ce
|
||||
|
||||
before_install:
|
||||
- shopt -s globstar
|
||||
- docker pull koalaman/shellcheck
|
||||
|
||||
script:
|
||||
- bash -c 'shopt -s globstar; shellcheck **/*.sh'
|
||||
- bash -c 'shopt -s globstar ; jq . **/*.json'
|
||||
- docker run -v $(pwd):/mnt koalaman/shellcheck **/*.sh
|
||||
|
||||
matrix:
|
||||
fast_finish: true
|
||||
|
||||
@@ -69,6 +69,7 @@ else
|
||||
|
||||
addgroup -g 1000 "$USERNAME"
|
||||
adduser -D -H -G "$USERNAME" -s /bin/false -u 1000 "$USERNAME"
|
||||
# shellcheck disable=SC1117
|
||||
echo -e "$PASSWORD\n$PASSWORD" | smbpasswd -a -s -c /etc/smb.conf "$USERNAME"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user