]> git.lizzy.rs Git - lua-star.git/commitdiff
Add travis build
authorWesley <wesley.werner@gmail.com>
Sat, 2 Dec 2017 13:21:14 +0000 (15:21 +0200)
committerWesley <wesley.werner@gmail.com>
Sat, 2 Dec 2017 13:21:14 +0000 (15:21 +0200)
.travis.yml [new file with mode: 0644]

diff --git a/.travis.yml b/.travis.yml
new file mode 100644 (file)
index 0000000..4ef3ceb
--- /dev/null
@@ -0,0 +1,31 @@
+language: python
+sudo: false
+
+env:
+  - LUA="lua=5.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 busted
+
+script:
+  - busted
+
+after_success:
+
+branches:
+  only:
+    - master
+    - stable
+    - beta
+  except:
+    - gh-pages
+
+notifications:
+  email:
+    on_success: change
+    on_failure: always