diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2017-09-29 21:19:00 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2017-09-29 21:55:10 -0300 |
commit | 047760470db0874bbf3250f565a6c1d12dcafdee (patch) | |
tree | 243e85ff569d4f43924bebf3584a49f292f746ee /.travis.yml | |
parent | a0296722a17ff28668d27fe44de434d937ef8ee5 (diff) | |
download | luarocks-047760470db0874bbf3250f565a6c1d12dcafdee.tar.gz luarocks-047760470db0874bbf3250f565a6c1d12dcafdee.tar.bz2 luarocks-047760470db0874bbf3250f565a6c1d12dcafdee.zip |
Travis: speed up build
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index 8f265fb1..7ea8b487 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -2,6 +2,7 @@ language: python | |||
2 | 2 | ||
3 | cache: | 3 | cache: |
4 | directories: | 4 | directories: |
5 | - lua_install | ||
5 | - test/testing_cache-5.1 | 6 | - test/testing_cache-5.1 |
6 | - test/testing_cache-5.2 | 7 | - test/testing_cache-5.2 |
7 | - test/testing_cache-5.3 | 8 | - test/testing_cache-5.3 |
@@ -53,9 +54,8 @@ matrix: | |||
53 | 54 | ||
54 | 55 | ||
55 | before_install: | 56 | before_install: |
56 | - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update;fi | 57 | - if [ ! -d lua_install ]; then pip install hererocks; fi |
57 | - pip install hererocks | 58 | - if [ ! -d lua_install ]; then hererocks lua_install -r^ --$LUA; fi |
58 | - hererocks lua_install --luarocks @luarocks-3 --$LUA | ||
59 | - export PATH=$PATH:$PWD/lua_install/bin # Add directory with all installed binaries to PATH | 59 | - export PATH=$PATH:$PWD/lua_install/bin # Add directory with all installed binaries to PATH |
60 | 60 | ||
61 | install: | 61 | install: |