aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorPeter Melnichenko <mpeterval@gmail.com>2018-03-16 02:38:32 +0300
committerHisham Muhammad <hisham@gobolinux.org>2018-03-15 20:38:32 -0300
commit1dfb8c41e8a7e689959baeaf2961437db9615f74 (patch)
tree5d12a1c8549314e7e8a26d45c59676a22775e276 /.travis.yml
parent37d8524e7e5237d3d67b2db4692b00b0eb95077b (diff)
downloadluafilesystem-1dfb8c41e8a7e689959baeaf2961437db9615f74.tar.gz
luafilesystem-1dfb8c41e8a7e689959baeaf2961437db9615f74.tar.bz2
luafilesystem-1dfb8c41e8a7e689959baeaf2961437db9615f74.zip
Replace rockspecs/ with a single scm rockspec (#108)
There is no need to keep rockspecs for older versions - it's enough to ensure that `luarocks make` builds currently checked out version. `luarocks new-version <rockspec> <version> --tag=<tag>` generates rockspecs for releases. Use `scm` instead of `dev` as LuaRocks 2 thinks that `dev` versions are less than normal versions like 1.6.3, making it tricky to use bleeding-edge version as a dependency with a constraint such as `luafilesystem >= 1.6.3`.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 38086ba..22430d4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -20,7 +20,7 @@ before_install:
20 - luarocks install luacov-coveralls --server=https://luarocks.org/dev --deps-mode=none 20 - luarocks install luacov-coveralls --server=https://luarocks.org/dev --deps-mode=none
21 21
22install: 22install:
23 - luarocks make rockspecs/luafilesystem-cvs-3.rockspec CFLAGS="-O2 -fPIC -ftest-coverage -fprofile-arcs" LIBFLAG="-shared --coverage" 23 - luarocks make CFLAGS="-O2 -fPIC -ftest-coverage -fprofile-arcs" LIBFLAG="-shared --coverage"
24 24
25script: 25script:
26 - lua -lluacov tests/test.lua 26 - lua -lluacov tests/test.lua