summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-07-25 22:53:32 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-07-25 23:16:11 +0200
commitd92cd0be758e9d116e37dc7c7a9960d8a4dbea1d (patch)
tree4586807479539ee2bde3f3ca6874f7e468e4696b
parent55614ba97d2b9e40c7e77c503102b8abca02256c (diff)
downloadlua-aports-d92cd0be758e9d116e37dc7c7a9960d8a4dbea1d.tar.bz2
lua-aports-d92cd0be758e9d116e37dc7c7a9960d8a4dbea1d.tar.xz
set up Travis CI to run luacheck
-rw-r--r--.travis.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..ed02e23
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,20 @@
+sudo: false
+dist: trusty
+language: minimal
+
+before_install:
+ - "wget 'https://raw.githubusercontent.com/mpeterv/hererocks/0.16.0/hererocks.py' \
+ && echo '6ae35e5cd6d34775f8190f51331d850b34ce0fac hererocks.py' | sha1sum -c || exit 1"
+ - python hererocks.py .venv --lua=5.2 --luarocks=^
+ - source .venv/bin/activate
+install:
+ - luarocks install luacheck
+script:
+ - make lint
+
+notifications:
+ irc:
+ channels:
+ - "chat.freenode.net#alpine-commits"
+ template:
+ - "%{repository_name}:%{branch} |{author}| %{commit_subject} >> %{result} | %{build_url}"