Skip to content

Commit

Permalink
Try fixing travis (#84)
Browse files Browse the repository at this point in the history
* Try fixing travis

Make sure pip setuptools and wheel are updated

Signed-off-by: David Brown <dmlb2000@gmail.com>

* Add pip freeze to output of travis

Signed-off-by: David Brown <dmlb2000@gmail.com>

* Add some more debugging to ansible

Signed-off-by: David Brown <dmlb2000@gmail.com>

* Fix docker setup

Signed-off-by: David Brown <dmlb2000@gmail.com>
  • Loading branch information
dmlb2000 authored Nov 5, 2019
1 parent fc57db1 commit cdb4c84
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,14 @@ stages:
".script": &1
- coverage run --include 'pacifica/cartd/*' -m pytest -xsv tests/test tests/e2e
- coverage report -m --fail-under 100
before_script:
before_install:
- pip install --upgrade pip setuptools wheel
- pip install ansible
- ansible-galaxy install pacifica.ansible_pacifica pacifica.ansible_travis
- ansible-playbook ~/.ansible/roles/pacifica.ansible_travis/molecule/common/playbook.yml -i ~/.ansible/roles/pacifica.ansible_travis/molecule/common/inventory.yml -e "travis_virtualenv=python${TRAVIS_PYTHON_VERSION} github_repository=cartd"
- pip freeze
before_script:
- pip freeze
jobs:
include:
- stage: lint
Expand All @@ -29,7 +33,7 @@ jobs:
python: 2.7
- stage: test-docker
sudo: required
before_script: skip
before_install: skip
python: 2.7
services:
- docker
Expand Down

0 comments on commit cdb4c84

Please sign in to comment.