summaryrefslogtreecommitdiffstats
path: root/Vagrantfile
AgeCommit message (Collapse)Author
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