Created
August 24, 2016 13:41
-
-
Save jarshwah/5f9d49f6a1d62f5d62a479088eb5c8de to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: create aliases for executing tests on regular database backends | |
lineinfile: | |
dest: "{{ user_home}}.profile" | |
line: > | |
alias runtests{{ (10 * item.0)|round|int }}-{{ item.1 }}='PYTHONPATH=/home/vagrant/djangodata/ | |
tox -c /django/tox.ini -e py{{ (10 * item.0)|round|int }}{{ ("-" + item.1)|replace("-sqlite3", "") }} -- | |
--settings=test_{{ item.1 }}' | |
with_nested: | |
- '{{ python_versions }}' | |
- '{{ databases }}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment