aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWesley <wesley.werner@gmail.com>2017-12-02 15:21:14 +0200
committerWesley <wesley.werner@gmail.com>2017-12-02 15:21:14 +0200
commitb6004415c7118bcea6425c04912eafae43a3b0f6 (patch)
tree894d0ece8a77ecd04c50e33c31a09806ef261551
parent5ad76e73ab7bc4f16ffc7dc36a5b133ab128cd55 (diff)
downloadlua-star-b6004415c7118bcea6425c04912eafae43a3b0f6.tar.xz
Add travis build
-rw-r--r--.travis.yml31
1 files changed, 31 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..4ef3ceb
--- /dev/null
+++ b/.travis.yml
@@ -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