Skip to content

Commit d49f69c

Browse files
author
David Cramer
committed
Install tersmitten.pip role as part of tests
1 parent cb9bc43 commit d49f69c

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Diff for: .travis.yml

+2-5
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,8 @@ script:
2323
# Ansible syntax check.
2424
- 'docker exec --tty "$(cat ${container_id})" env TERM=xterm ansible-playbook /etc/ansible/roles/role_under_test/tests/test.yml --syntax-check'
2525

26-
# Fix pip - see https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1658844
27-
- 'docker exec "$(cat ${container_id})" apt-get update'
28-
- 'docker exec "$(cat ${container_id})" apt-get install -y python-pip'
29-
- 'docker exec "$(cat ${container_id})" python -m pip install -U pip'
30-
- 'docker exec "$(cat ${container_id})" pip install -U pip setuptools'
26+
# Avoid pip bug https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1658844
27+
- 'docker exec "$(cat ${container_id})" ansible-galaxy install tersmitten.pip'
3128

3229
# Test role.
3330
- 'docker exec "$(cat ${container_id})" ansible-playbook /etc/ansible/roles/role_under_test/tests/test.yml'

0 commit comments

Comments
 (0)