summaryrefslogtreecommitdiffstats
path: root/Vagrantfile
AgeCommit message (Collapse)Author
2019-06-18Updated dependenciesJoris Roovers
- Updated most dependencies to latest (or newer) versions - Removed dependency pinning for Python 2.6 and 3.3 - Minor code-tweaks to deal with dependency changes - Added pypi download stats to `run_tests.sh -s`
2019-06-18Drop support for Python 3.3Joris Roovers
Updated docs and tests accordingly.
2019-03-13Officially drop support for Python 2.6Joris Roovers
Python 2.6 specific dependencies and code workarounds will be removed in the future. For now we're just going to stop testing against Python 2.6 and no longer advertising we're supporting it.
2019-03-13Vagrantfile, run_tests.sh updates to support python 3.7Joris Roovers
Also made minor README and CHANGELOG updates as prep for the upcoming 0.11.0 release.
2018-04-06Smart fallback to local repo when STDIN is a pipe or fileJoris Roovers
Gitlint will now fallback to reading from the local repository when reading an empty input from STDIN in case STDIN is a named pipe or file. This allows gitlint to work properly in environments where no TTY is attached and no input is being piped into gitlint either (like when running a plain gitlint command (no arguments) in a CI environment like Jenkins or Gitlab). This fixes #42.
2018-04-02Cleanup + Changelog updateJoris Roovers
- Added additional subdirectories for better unit test organization. - Added Changelog details in prep for upcoming v0.10.0 release - Minor documentation tweaks - Some improvements to ./run_tests.sh --stats
2018-03-30Fix + integration tests + docs for --msg-filenameJoris Roovers
- Fixed an issue with unicode for --msg-filename (this is why the integration tests failed). - Added more specific integration tests for --msg-filename (currently it was tested more implicitely through the hook tests). - Update docs with info on --msg-filename - Also updated Vagrantfile to xenial64 and fixed some related python installation issues
2017-03-11Experimental python 3.6 supportJoris Roovers
Adding experimental support for python 3.6, temporarily disabling running pylint for 3.6 because of https://github.com/PyCQA/pylint/issues/1072
2016-12-02Pylint support for all python environmentsJoris Roovers
Gitlint is now linted for all supported python versions. Additionally, did some refactoring to run_tests.sh so that we can more easily install and uninstall specific python environments (vs. all at once).
2016-08-04Fix for python 3 test failures + run_tests.sh improvementsJoris Roovers
- importlib is now only used for python 2.6 and not included for all builds. This fixes issues with python3. - run_tests.sh: --clean option: clean up the working directory (delete cache, dist, build, etc) - run_tests.sh: --install-virtualenvs and --remove-virtualenvs options to install/remove virtualenvs for other python versions. This code used to live in the Vagrantfile but has been moved to run_tests.sh so that it can be used more easily during development.
2016-04-16./run_tests.sh and Vagrantfile improvementsJoris Roovers
./run_test.sh --all: run all tests (unit, integration, pep8, git) ./run_test.sh --all-env: run all tests against all python environments defined in Vagrantfile
2015-11-11Support for --target parameter, indicating the target git repoJoris Roovers
This allows users to lint repos other than the current directory. Also added silver-searcher to the Vagrantfile for developer convenience.
2015-10-02Initial work on supporting python 2.6 and 3.xJoris Roovers
Added some install commands to the Vagrantfile so we can more easily work on python 3 and python 2.6 support. However, both are currently blocked. - Python 3 support: currently blocked on Click not supporting python 3 without significant workarounds: http://click.pocoo.org/5/python3/ - Python 2.6 support: Too many errors around unittest2 incompatibility
2015-09-17Enable vagrant-cachier module if availableToby Oxborrow
To reduce the time to re-download packages during the 'apt-get update' in Vagrantfile, cache downloaded packages if the vagrant-cachier plugin is available.
2015-09-16Fix pip version changesToby Oxborrow
In a fresh vagrant (vagrant destroy -f ; vagrant up) you would see the following messages. Though the pip packages install, pip actually ends up downgraded. ==> dev: % (cmd_desc, proc.returncode)) ==> dev: OSError ==> dev: : ==> dev: Command /vagrant/.venv/bin/python -c "import sys, pip; sys...d\"] + sys.argv[1:]))" setuptools pip failed with error code 1 pip downgrades itself after installing the sh module: ==> dev: Installing collected packages: pip ==> dev: Found existing installation: pip 7.1.2 ==> dev: Uninstalling pip-7.1.2: ==> dev: Successfully uninstalled pip-7.1.2 ==> dev: Successfully installed pip-1.5.4 ==> dev: You are using pip version 1.5.4, however version 7.1.2 is available. ==> dev: You should consider upgrading via the 'pip install --upgrade pip' command. ==> dev: You are using pip version 7.1.0, however version 7.1.2 is available. ==> dev: You should consider upgrading via the 'pip install --upgrade pip' command. This seems to be caused by pip being upgraded via requirements.txt. So this change upgrades pip outside of pip via easy_install. The pip version we get via easy_install at time of writing is 7.1.2. It runs fine and does not show the above messages. Also removed python-pip from being installed via apt-get as python-virtualenv comes with its own (albiet broken) and the version in python-pip is quite old (1.5.x).
2015-09-14Fix vagrant provisionToby Oxborrow
* Correct path to activate * More robust .bashrc editing * Git ignore .vagrant directory
2015-09-02Initial commitJoris Roovers
- setup.py - travis integration - README - Vagrantfile - run_tests.sh - gitignore - requirements.txt