213 Commits

Author SHA1 Message Date
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
mpeterv
d37aaf8e31 Use JSON to save identifiers 2016-04-03 20:23:44 +03:00
mpeterv
86b7f8fad9 Rename .source_kind == "fixed" -> .source == "release" 2016-04-03 19:40:08 +03:00
mpeterv
efc8301f5d Add vs_32 and vs_64 targets 2016-04-03 17:00:41 +03:00
mpeterv
b15e6db3a4 vs target: try older VS versions on x64 host but use x86 tools 2016-04-03 16:29:38 +03:00
mpeterv
be1c0a25fe Add vs08_64 and vs10_64 targets, fix help for --target 2016-04-03 16:14:21 +03:00
mpeterv
a18825c239 Pass x86_amd64 instead of amd64 to vcvarsall.bat 2016-04-03 16:04:52 +03:00
mpeterv
08a97da8b4 vs target: try VS versions in decreasing order 2016-04-03 16:02:36 +03:00
mpeterv
82097c458c Add vs target 2016-04-03 15:38:57 +03:00
mpeterv
fb26b06861 Handle missing programs 2016-04-03 15:15:40 +03:00
mpeterv
8dfda2b86b Make some methods static 2016-04-03 14:47:23 +03:00