Run luacheck in travis
authorrubenwardy <rw@rubenwardy.com>
Fri, 6 Dec 2019 22:50:55 +0000 (22:50 +0000)
committersfan5 <sfan5@live.de>
Sat, 7 Dec 2019 22:50:12 +0000 (23:50 +0100)
.travis.yml

index bdf3e8d42df9ea4b5378df6c94e2cc1394b89d2b..cfbed9a6e913971913f1a01013206bdf3ddf6efa 100644 (file)
@@ -20,6 +20,20 @@ matrix:
             - ubuntu-toolchain-r-test
             - llvm-toolchain-trusty-7
 
+    - name: "Builtin Luacheck"
+      language: generic
+      compiler: null
+      os: linux
+      sudo: false
+      addons:
+        apt:
+          packages:
+          - luarocks
+      before_install:
+        - luarocks install --local luacheck
+      script:
+        - $HOME/.luarocks/bin/luacheck builtin
+
     - env: CLANG_TIDY=clang-tidy-7
       compiler: clang
       os: linux
@@ -100,4 +114,3 @@ matrix:
           sources: &sources
             - ubuntu-toolchain-r-test
             - llvm-toolchain-trusty-7
-