diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..56d05f9 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,9 @@ +sudo: required + +before_install: + - sudo add-apt-repository ppa:projectatomic/ppa --yes + - sudo apt-get update -qq + - sudo apt-get install -qq shellcheck skopeo + +script: + - make validate diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..59c9bce --- /dev/null +++ b/Makefile @@ -0,0 +1,7 @@ +SRC := ./BuildSourceImage.sh + +all: validate + +.PHONY: validate +validate: $(SRC) + shellcheck -a $(SRC)