223 Commits

Author SHA1 Message Date
Peter Melnichenko
43c40e6c75 Fix incorrect target used when installing just LuaRocks on Windows
Use target from identifiers saved when installing Lua instead
of using target specified when installing LuaRocks.
2016-05-03 11:44:24 +03:00
Peter Melnichenko
75111b5064 Pass /F to LuaRocks install.bat to allow upgrading 2016-05-03 11:39:54 +03:00
Peter Melnichenko
78b4476c02 Attempt to fix random errors on Appveyor 2016-05-03 13:47:18 +03:00
Peter Melnichenko
fa0639f640 Always close all filehandles 2016-05-01 21:59:00 +03:00
Peter Melnichenko
1d184a0c14 Fix an extra @memoize 2016-05-01 21:21:24 +03:00
Peter Melnichenko
5752cf40b5 Try both amd64 and x86_amd64 VS setup scripts 2016-05-01 21:08:50 +03:00
Peter Melnichenko
2a98960a94 Fix setup_vs call 2016-05-01 21:08:30 +03:00
Peter Melnichenko
a438a1cfa0 Change how VS auto-setup targets work
* vs on x64: first try to set up tools for x64, then for x86
  using all VS verions instead of trying x64 for 11.0+ and x86
  for 9.0 and 10.0
* vs_32, vs_64: do setup even if cl.exe is present. That behaviour
  is only needed as a default.
2016-05-01 20:45:17 +03:00
Peter Melnichenko
bbc6080e2f Disable caching if relevant env vars are missing
Ref #24
2016-05-01 15:08:04 +03:00
Peter Melnichenko
53582de18d Fix test: clone luarocks only if it's missing 2016-05-01 14:37:27 +03:00
Peter Melnichenko
0780ddd950 Add mroe tests 2016-05-01 14:31:49 +03:00
Peter Melnichenko
dd10a136bd Move luarocks test repo location
For some reason deleting it from test/builds causes a permission
error on Windows even though it's created from the same nosetest
instance.
2016-04-30 20:57:32 +03:00
Peter Melnichenko
ba652ab780 Don't elevate luarocks installer on Windows if possible 2016-04-30 20:55:44 +03:00
Peter Melnichenko
c6599907dd Fix pep8 compliance 2016-04-30 20:36:45 +03:00
Peter Melnichenko
c279599665 Add a test 2016-04-30 20:31:48 +03:00
Peter Melnichenko
f3d5c10a93 Fix coverage upload on Appveyor
Don't use 'shallow_clone' in appveyor.yml, it causes
.git/ missing. Also remove an old caching option.
2016-04-30 16:49:29 +03:00
Peter Melnichenko
27649a3dc8 Appveyor: test a git command 2016-04-30 16:41:54 +03:00
Peter Melnichenko
9b095a46d5 Don't report coverage to coveralls.io on Appveyor for PRs
For coverage reporting on Appveyor it's necessary to set
COVERALLS_REPO_TOKEN env variable. For security reasons it's
not available when building pull requests, so don't call 'coveralls'
in that case. To compensate, always run 'coverage report'.
2016-04-30 16:15:55 +03:00
Peter Melnichenko
4cc9759aaf Fix tests for Windows 2016-04-30 11:04:10 +03:00
Peter Melnichenko
8ea50693c3 Refactoring of identifiers saving 2016-04-29 14:24:51 +03:00
Peter Melnichenko
835d70d3b7 Switch back to HTTP for Lua downloads
Https causes an error on a "real" Windows installation, but
not on Appveyor. Could be an issue with Python, Windows or
https implementation on www.lua.org. Safer to revert to http for now.
2016-04-29 14:18:12 +03:00
Peter Melnichenko
d13e49b0cf Save identifiers after installing Lua before installing LuaRocks
Fixes errors when reinstalling LuaRocks if the first attempt failed.
2016-04-28 12:50:34 +03:00
Peter Melnichenko
d04f34c71a Exit with error if a LuaRocks batch script is missing 2016-04-28 12:47:44 +03:00
Peter Melnichenko
115fc6a2fb Fix a test for Windows 2016-04-28 12:17:12 +03:00
Peter Melnichenko
062fa53184 Fix pip path for appveyor 2016-04-27 23:54:25 +03:00
Peter Melnichenko
6e37b10026 Fix appveyor matrix 2016-04-27 23:47:48 +03:00
Peter Melnichenko
c597a8d8aa Use nose on appveyor 2016-04-27 23:39:01 +03:00
Peter Melnichenko
b2b870c62e Don't run tests on Travis with Python 3.2
coverage.py doesn't support it.
2016-04-27 23:38:35 +03:00
Peter Melnichenko
0086cd3457 Port tests to nosetests 2016-04-27 23:27:02 +03:00
Peter Melnichenko
de368c98d8 Fix OS X build on Travis 2016-04-27 23:17:53 +03:00
Peter Melnichenko
155ebce687 Travis: Attempt to install pip on osx 2016-04-27 23:02:26 +03:00
mpeterv
1745496a07 Use plural/singular form of them/it for patches 2016-04-15 23:00:14 +03:00
mpeterv
15119a19b0 Fix minor version detection for Lua 5.1 2016-04-13 16:25:44 +03:00
mpeterv
44002eeb14 Test --patch 2016-04-12 17:18:17 +03:00
mpeterv
11e2fa78d0 Implement --patch 2016-04-12 17:17:28 +03:00
mpeterv
30866d911e Show python version in Appveyor 2016-04-06 19:52:30 +03:00
mpeterv
e6d7f168bd Test with Python 3.5 on Windows 2016-04-06 19:44:41 +03:00
mpeterv
defbc5c9cc Fix Python 3 compat when on Windows 2016-04-06 19:44:24 +03:00
Peter Melnichenko
dd2207126f Fix README 2 [ci skip] 2016-04-06 20:08:39 +04:00
Peter Melnichenko
66b31c80e7 Fix README [ci skip] 2016-04-06 20:04:30 +04:00
mpeterv
d3ff784117 Mention supported platforms in README [ci skip] 2016-04-06 18:59:14 +03:00
mpeterv
ff42be1ac9 Enable extensions before setting up MSVC
Apparently it's necessary when using setenv.cmd of WSDK.
2016-04-05 20:52:32 +03:00
mpeterv
d7472dd594 Show help for --downloads
It may be useful for caching on ci services, and seeing the
default value is nice.
2016-04-03 22:33:16 +03:00
mpeterv
c561c0bac3 Cache downloads on appveyor 2016-04-03 22:20:13 +03:00
mpeterv
bccbfbf626 Fix cmake generator arch suffix 2016-04-03 22:17:33 +03:00
mpeterv
882e414c0d Windows: configure LuaRocks to use correct cmake generator 2016-04-03 22:12:19 +03:00
mpeterv
9d65a349c9 Take Lua major version for LuaRocks from stored identifiers 2016-04-03 21:41:54 +03:00
mpeterv
24da318802 Add version to manifest
Increment when changing manifest format in breaking ways so that
upgrading hererocks doesn't result in a crash.
2016-04-03 21:19:44 +03:00
mpeterv
a1f4f47f2f Add 'latest' as an alias for '^' 2016-04-03 21:09:30 +03:00
mpeterv
b704246dc3 Implement --show option 2016-04-03 21:00:51 +03:00