summaryrefslogtreecommitdiff
path: root/Resources/DefaultContent/Libraries/inspect/.travis.yml
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-10-20 12:31:42 +0800
committerchai <chaifix@163.com>2021-10-20 12:31:42 +0800
commit943411c9006345b07557e76ff360c388ee8366c1 (patch)
treef9d3e8525acd02412d1d556b6778fb373a806f33 /Resources/DefaultContent/Libraries/inspect/.travis.yml
parentdcf8210b43077ed6a12d73e0d7d3d7edcbbe3e55 (diff)
+some lua libs
Diffstat (limited to 'Resources/DefaultContent/Libraries/inspect/.travis.yml')
-rw-r--r--Resources/DefaultContent/Libraries/inspect/.travis.yml36
1 files changed, 36 insertions, 0 deletions
diff --git a/Resources/DefaultContent/Libraries/inspect/.travis.yml b/Resources/DefaultContent/Libraries/inspect/.travis.yml
new file mode 100644
index 0000000..91f7f93
--- /dev/null
+++ b/Resources/DefaultContent/Libraries/inspect/.travis.yml
@@ -0,0 +1,36 @@
+language: python
+sudo: false
+
+env:
+ - LUA="lua=5.1"
+ - LUA="lua=5.2"
+ - LUA="lua=5.3"
+ - LUA="luajit=2.0"
+ - LUA="luajit=2.1"
+
+before_install:
+ - pip install hererocks
+ - hererocks lua_install -r^ --$LUA
+ - export PATH=$PATH:$PWD/lua_install/bin # Add directory with all installed binaries to PATH
+
+install:
+ - luarocks install luacheck
+ - luarocks install busted
+ - luarocks install luacov
+ - luarocks install luacov-coveralls
+
+script:
+ - luacheck --std max+busted *.lua spec
+ - busted --verbose --coverage
+
+after_success:
+ - luacov-coveralls --exclude $TRAVIS_BUILD_DIR/lua_install
+
+branches:
+ except:
+ - gh-pages
+
+notifications:
+ email:
+ on_success: change
+ on_failure: always