aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml33
1 files changed, 33 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..67b5812
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,33 @@
1language: c
2
3env:
4 global:
5 - LUAROCKS=2.2.0-rc1
6 matrix:
7 - LUA=lua5.1
8 - LUA=lua5.2
9 - LUA=lua5.3
10 - LUA=luajit
11
12branches:
13 only:
14 - master
15
16before_install:
17 - bash .travis/setup_lua.sh
18 - sudo pip install cpp-coveralls
19
20install:
21 - sudo luarocks make rockspecs/luafilesystem-cvs-3.rockspec CFLAGS="-O2 -fPIC -ftest-coverage -fprofile-arcs" LIBFLAG="-shared --coverage"
22
23script:
24 - cd tests
25 - sudo lua test.lua
26
27after_success:
28 - coveralls -b .. -r .. -E usr
29
30notifications:
31 email:
32 on_success: change
33 on_failure: always