]> git.madduck.net Git - etc/awesome.git/blobdiff - .travis.yml

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

.travis: Use travis template from lua-travis-example
[etc/awesome.git] / .travis.yml
index 1585a647b0112ccc8366d7b46eb39df0d6c9c951..05bf340a6eb64271daf5ad42e9318613c0c23d4e 100644 (file)
@@ -1,9 +1,32 @@
 language: c
 
 language: c
 
+sudo: false
+
+env:
+  global:
+    - LUAROCKS=2.2.2
+  matrix:
+    - LUA=lua5.1
+    - LUA=lua5.2
+    - LUA=lua5.3
+    - LUA=luajit2.0
+    - LUA=luajit2.1
+
 before_install:
 before_install:
-  - sudo apt-get install luarocks -y
-  - sudo luarocks install busted
+  - source .travis/setenv_lua.sh
+  - luarocks install luacov-coveralls
+  - luarocks install busted
+
+install:
+  - luarocks make
 
 script:
 
 script:
-  - luarocks install --local luatz-scm-0.rockspec
-  - busted
+  - busted -c
+
+after_success:
+  - luacov-coveralls -v
+
+notifications:
+  email:
+    on_success: change
+    on_failure: always