This repository was archived by the owner on Sep 16, 2020. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -78,3 +78,7 @@ setup_v1.py
7878tower_cli_v2 /
7979bin /tower-cli-v2
8080setup_v2.py
81+
82+ # for AWX install
83+ /awx
84+ .cache /
Original file line number Diff line number Diff line change @@ -10,11 +10,13 @@ python:
1010matrix :
1111 allow_failures :
1212 - python : nightly
13+ before_install :
14+ - ./install_awx.sh
1315install :
1416 - pip install -r requirements_dev.txt
15- before_script :
16- flake8 .
1717script :
18+ - flake8 tower-cli/ tests/
1819 - tox
20+ - py.test tests_awx/
1921after_success :
2022 coveralls
Original file line number Diff line number Diff line change 1+ rm -rf awx/
2+ git clone https://github.com/ansible/awx.git awx --depth=1
3+ cp tests_awx/CLI_settings.py awx/awx/settings/CLI_settings.py
4+ cd awx
5+ pip install -r requirements/requirements.txt
6+ pip install -r requirements/requirements_dev.txt
7+ python setup.py install
8+ cd ..
9+ # have to add awx dir to path
10+ [[ " :$PYTHONPATH :" != * " :$PWD /awx:" * ]] && PYTHONPATH=" ${PYTHONPATH} :$PWD /awx"
Original file line number Diff line number Diff line change 1+ [pytest]
2+ DJANGO_SETTINGS_MODULE = awx.settings.CLI_settings
3+ python_files = *.py
4+ addopts = --reuse-db --nomigrations --tb =native
You can’t perform that action at this time.
0 commit comments