aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorAlexey Melnichuk <mimir@newmail.ru>2014-08-14 09:36:58 +0500
committerAlexey Melnichuk <mimir@newmail.ru>2014-08-14 09:41:04 +0500
commitc0552d59a4b82b7ee8cfaf0c08e1b7416fea61d1 (patch)
tree14b3a0e39f2ed0414f271e8246bb9d6f37d3e6ef /.travis.yml
parentebe20b66f095c8f89a5c1d16c5bd3cc98dad29ee (diff)
downloadluafilesystem-c0552d59a4b82b7ee8cfaf0c08e1b7416fea61d1.tar.gz
luafilesystem-c0552d59a4b82b7ee8cfaf0c08e1b7416fea61d1.tar.bz2
luafilesystem-c0552d59a4b82b7ee8cfaf0c08e1b7416fea61d1.zip
Add. Travis files.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml32
1 files changed, 32 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..316af68
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,32 @@
1language: c
2
3env:
4 global:
5 - LUAROCKS=2.2.0-rc1
6 matrix:
7 - LUA=lua5.1
8 - LUA=lua5.2
9 - LUA=luajit
10
11branches:
12 only:
13 - master
14
15before_install:
16 - bash .travis/setup_lua.sh
17 - sudo pip install cpp-coveralls
18
19install:
20 - sudo luarocks make rockspecs/luafilesystem-cvs-2.rockspec CFLAGS="-O2 -fPIC -ftest-coverage -fprofile-arcs" LIBFLAG="-shared --coverage"
21
22script:
23 - cd tests
24 - sudo lua test.lua
25
26after_success:
27 - coveralls -b .. -r ..
28
29notifications:
30 email:
31 on_success: change
32 on_failure: always