diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2017-10-04 11:14:42 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-04 11:14:42 -0300 |
commit | 84b4fe99cac37850a97858e0b641043bd3178d8a (patch) | |
tree | b4578689091b8360aed71f531faf2513b7d41684 /appveyor.yml | |
parent | 100c18d048936b5a47f29f55e6ce8b24277fb70f (diff) | |
download | luarocks-84b4fe99cac37850a97858e0b641043bd3178d8a.tar.gz luarocks-84b4fe99cac37850a97858e0b641043bd3178d8a.tar.bz2 luarocks-84b4fe99cac37850a97858e0b641043bd3178d8a.zip |
Use versioned files only. (#734)
Let's take the opportunity of a new major version to make an important cleanup: getting rid of the error-prone unversioned configuration files. This drops support for:
* Unversioned config.lua -> use config-5.x.lua
* Unversioned luarocks/site_config.lua -> it always generates luarocks/core/site_config_5_x.lua
* Unversioned lib/luarocks/rocks -> it always uses lib/luarocks/rocks-5.x
Diffstat (limited to 'appveyor.yml')
-rw-r--r-- | appveyor.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/appveyor.yml b/appveyor.yml index a7cf1be6..3255e2db 100644 --- a/appveyor.yml +++ b/appveyor.yml | |||
@@ -38,14 +38,14 @@ init: | |||
38 | before_build: | 38 | before_build: |
39 | - set PATH=C:\Python27\Scripts;%PATH% # Add directory containing 'pip' to PATH | 39 | - set PATH=C:\Python27\Scripts;%PATH% # Add directory containing 'pip' to PATH |
40 | - pip install hererocks | 40 | - pip install hererocks |
41 | - hererocks env --%LUA% --luarocks @luarocks-3 --target=%COMPILER% | 41 | - hererocks lua_install --%LUA% --luarocks @luarocks-3 --target=%COMPILER% |
42 | - call env\bin\activate | 42 | - call lua_install\bin\activate |
43 | 43 | ||
44 | build_script: | 44 | build_script: |
45 | - luarocks install busted 1> NUL 2> NUL | 45 | - luarocks install busted 1> NUL 2> NUL |
46 | 46 | ||
47 | test_script: | 47 | test_script: |
48 | - busted --lpath=.//?.lua --exclude-tags=ssh,unix,mock -Xhelper appveyor,%COMPILER% | 48 | - busted --lpath=.//?.lua --exclude-tags=ssh,unix,mock -Xhelper lua_dir=%CD%\lua_install,appveyor,%COMPILER% |
49 | 49 | ||
50 | after_test: | 50 | after_test: |
51 | - if "%LUA%"=="lua 5.1" (luarocks show bit32 || luarocks install bit32) | 51 | - if "%LUA%"=="lua 5.1" (luarocks show bit32 || luarocks install bit32) |