From ebeb01cb7d82210d002780e6d6a4b0b34285ae53 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Fri, 29 Sep 2017 21:59:58 -0300 Subject: Travis: fix use of cache --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7ea8b487..d66e4a0a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -54,8 +54,8 @@ matrix: before_install: - - if [ ! -d lua_install ]; then pip install hererocks; fi - - if [ ! -d lua_install ]; then hererocks lua_install -r^ --$LUA; fi + - if [ ! -f lua_install/bin/luarocks ]; then pip install hererocks; fi + - if [ ! -f lua_install/bin/luarocks ]; then hererocks lua_install -r^ --$LUA; fi - export PATH=$PATH:$PWD/lua_install/bin # Add directory with all installed binaries to PATH install: -- cgit v1.2.3-55-g6feb