diff --git a/.travis.yml b/.travis.yml index df2714e1..533881cc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,7 @@ os: before_install: - nvm install node - npm install -g npm - - go install github.com/golangci/golangci-lint/cmd/golangci-lint + - curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b /usr/local/bin v1.19.1 install: - npm --prefix client install diff --git a/ci.sh b/ci.sh index 63e5c0c5..a747b330 100755 --- a/ci.sh +++ b/ci.sh @@ -2,15 +2,17 @@ set -e set -x +echo "Starting AdGuard Home CI script" + +# Print the current directory contents +ls -la + # Check versions and current directory node -v npm -v go version golangci-lint --version -# Print the current directory contents -ls -la - # Run linter golangci-lint run @@ -30,3 +32,5 @@ else echo "Please make sure there are no changes" exit 1 fi + +echo "AdGuard Home CI script finished successfully" \ No newline at end of file