diff options
author | Alexey Melnichuk <mimir@newmail.ru> | 2014-08-14 09:36:58 +0500 |
---|---|---|
committer | Alexey Melnichuk <mimir@newmail.ru> | 2014-08-14 09:41:04 +0500 |
commit | c0552d59a4b82b7ee8cfaf0c08e1b7416fea61d1 (patch) | |
tree | 14b3a0e39f2ed0414f271e8246bb9d6f37d3e6ef /.travis.yml | |
parent | ebe20b66f095c8f89a5c1d16c5bd3cc98dad29ee (diff) | |
download | luafilesystem-c0552d59a4b82b7ee8cfaf0c08e1b7416fea61d1.tar.gz luafilesystem-c0552d59a4b82b7ee8cfaf0c08e1b7416fea61d1.tar.bz2 luafilesystem-c0552d59a4b82b7ee8cfaf0c08e1b7416fea61d1.zip |
Add. Travis files.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 32 |
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 @@ | |||
1 | language: c | ||
2 | |||
3 | env: | ||
4 | global: | ||
5 | - LUAROCKS=2.2.0-rc1 | ||
6 | matrix: | ||
7 | - LUA=lua5.1 | ||
8 | - LUA=lua5.2 | ||
9 | - LUA=luajit | ||
10 | |||
11 | branches: | ||
12 | only: | ||
13 | - master | ||
14 | |||
15 | before_install: | ||
16 | - bash .travis/setup_lua.sh | ||
17 | - sudo pip install cpp-coveralls | ||
18 | |||
19 | install: | ||
20 | - sudo luarocks make rockspecs/luafilesystem-cvs-2.rockspec CFLAGS="-O2 -fPIC -ftest-coverage -fprofile-arcs" LIBFLAG="-shared --coverage" | ||
21 | |||
22 | script: | ||
23 | - cd tests | ||
24 | - sudo lua test.lua | ||
25 | |||
26 | after_success: | ||
27 | - coveralls -b .. -r .. | ||
28 | |||
29 | notifications: | ||
30 | email: | ||
31 | on_success: change | ||
32 | on_failure: always | ||