2016-08-30 07:58:22 +00:00
|
|
|
branches:
|
|
|
|
except:
|
2020-09-05 14:19:12 +00:00
|
|
|
- donttestme
|
|
|
|
|
2015-10-18 19:02:46 +00:00
|
|
|
language: bash
|
2020-09-05 14:19:12 +00:00
|
|
|
|
2015-10-18 19:02:46 +00:00
|
|
|
sudo: required
|
2020-09-05 14:19:12 +00:00
|
|
|
|
2019-08-13 09:41:38 +00:00
|
|
|
env:
|
|
|
|
global:
|
2020-10-04 17:34:15 +00:00
|
|
|
- HADOLINT_VERSION=1.18.0
|
2020-09-08 17:49:19 +00:00
|
|
|
- SHELLCHECK_VERSION=0.7.1
|
2020-09-24 12:54:21 +00:00
|
|
|
- ECLINT_VERSION=2.1.0
|
2020-09-05 14:19:12 +00:00
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
2020-09-24 12:54:21 +00:00
|
|
|
- xz-utils
|
2020-09-05 14:19:12 +00:00
|
|
|
|
2015-10-18 19:02:46 +00:00
|
|
|
services:
|
2020-09-05 14:19:12 +00:00
|
|
|
- docker
|
|
|
|
|
2019-08-13 09:41:38 +00:00
|
|
|
before_install:
|
2020-09-24 12:54:21 +00:00
|
|
|
# HADOLINT
|
|
|
|
- sudo curl -L https://github.com/hadolint/hadolint/releases/download/v${HADOLINT_VERSION}/hadolint-$(uname -s)-$(uname -m) -o /usr/local/bin/hadolint
|
2020-09-05 14:19:12 +00:00
|
|
|
- sudo chmod +rx /usr/local/bin/hadolint
|
2020-09-24 12:54:21 +00:00
|
|
|
# SHELLCHECK
|
|
|
|
- sudo wget -qO- "https://github.com/koalaman/shellcheck/releases/download/v${SHELLCHECK_VERSION}/shellcheck-v${SHELLCHECK_VERSION}.linux.x86_64.tar.xz" | tar -xJ
|
|
|
|
- sudo mv "shellcheck-v${SHELLCHECK_VERSION}/shellcheck" /usr/bin/
|
|
|
|
# ECLINT
|
|
|
|
- sudo wget -qO- "https://github.com/editorconfig-checker/editorconfig-checker/releases/download/${ECLINT_VERSION}/ec-linux-amd64.tar.gz" | tar -xaz
|
|
|
|
- sudo mv bin/ec-linux-amd64 /usr/bin/eclint
|
|
|
|
- sudo chmod +x /usr/bin/eclint
|
2020-09-05 14:19:12 +00:00
|
|
|
|
2016-12-21 11:39:28 +00:00
|
|
|
install:
|
2020-09-05 14:19:12 +00:00
|
|
|
- travis_retry travis_wait make build
|
|
|
|
|
2016-12-21 11:39:28 +00:00
|
|
|
script:
|
2020-09-24 12:54:21 +00:00
|
|
|
- make eclint
|
2020-10-04 17:34:15 +00:00
|
|
|
- make hadolint
|
|
|
|
- make shellcheck
|
2020-09-05 14:19:12 +00:00
|
|
|
- make generate-accounts run generate-accounts-after-run fixtures tests
|
|
|
|
|
2016-12-21 11:39:28 +00:00
|
|
|
after_script:
|
2020-09-05 14:19:12 +00:00
|
|
|
- make clean
|
|
|
|
|
2016-09-07 20:40:02 +00:00
|
|
|
notifications:
|
|
|
|
slack:
|
|
|
|
secure: TTo1z9nbZCWcIdfPwypubNa3y+pwvfgDGlzEVAGEuK7uuIpmEoAcAUNSSPTnbewDGHnDl8t/ml93MtvP+a+IVuAKytMqF39PHyoZO7aUl9J62V+G75OmnyGjXGJm40pQosCS6LzqoRRYXotl9+fwH568Kf4ifXCrMZX1d+ir7Ww=
|
2017-01-04 09:39:43 +00:00
|
|
|
webhooks:
|
|
|
|
on_success: always
|
|
|
|
on_failure: always
|
|
|
|
on_start: never
|
2020-10-06 12:45:55 +00:00
|
|
|
urls:
|
|
|
|
- https://webhooks.gitter.im/e/7ec65291bfb4bf1f8518
|