summaryrefslogtreecommitdiff
path: root/Data/Libraries/Penlight/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to 'Data/Libraries/Penlight/.travis.yml')
-rw-r--r--Data/Libraries/Penlight/.travis.yml30
1 files changed, 30 insertions, 0 deletions
diff --git a/Data/Libraries/Penlight/.travis.yml b/Data/Libraries/Penlight/.travis.yml
new file mode 100644
index 0000000..3203334
--- /dev/null
+++ b/Data/Libraries/Penlight/.travis.yml
@@ -0,0 +1,30 @@
+language: python
+sudo: false
+
+env:
+ - LUA="lua 5.1"
+ - LUA="lua 5.2"
+ - LUA="lua 5.3"
+ - LUA="lua 5.4"
+ - LUA="luajit 2.0"
+ - LUA="luajit 2.0 --compat 5.2"
+ - LUA="luajit 2.1"
+ - LUA="luajit 2.1 --compat 5.2"
+
+before_install:
+ - pip install hererocks
+ - hererocks here -r^ --$LUA
+ - source here/bin/activate
+ - luarocks install luacov-coveralls
+ - luarocks install busted
+
+install:
+ - luarocks make
+
+script:
+ - busted -c -v
+ - lua run.lua tests --luacov
+ - lua run.lua examples
+
+after_success:
+ - luacov-coveralls