Skip to content

Commit 2435a51

Browse files
committed
Use netbox-docker snapshot image for 2.8
Until netbox-community/netbox#4496 is released Also reduced verbosity of integration tests - there's a lot of output.
1 parent 13db880 commit 2435a51

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.travis.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,12 @@ jobs:
5151

5252
# Stick to python 3.7 instead of 3.8, as ansible-test sanity is not compatible with 3.7
5353
# https://github.com/ansible/ansible/issues/67118
54-
- name: "Python 3.7 - Netbox 2.8 - Latest PyPi Ansible"
54+
55+
# Use "snapshot" docker image until netbox-community/netbox#4496 is in a release build of 2.8
56+
- name: "Python 3.7 - Netbox 2.8 (snapshot) - Latest PyPi Ansible"
5557
python: 3.7
5658
env:
57-
- PYTHON_VER=3.7 VERSION=v2.8 INTEGRATION_TESTS=latest
59+
- PYTHON_VER=3.7 VERSION=snapshot INTEGRATION_TESTS=latest
5860
install:
5961
- cd ..
6062
# Setup netbox container for integration testing
@@ -132,8 +134,8 @@ script:
132134
# Run the inventory test first, in case any of the other tests modify the data.
133135
# -vvvv is too much for integration tests
134136
- ansible-test integration -vv --coverage --python $PYTHON_VER inventory
135-
- ansible-test integration -vvv --coverage --python $PYTHON_VER regression
136-
- ansible-test integration -vvv --coverage --python $PYTHON_VER $INTEGRATION_TESTS
137+
- ansible-test integration -vv --coverage --python $PYTHON_VER regression
138+
- ansible-test integration -vv --coverage --python $PYTHON_VER $INTEGRATION_TESTS
137139

138140
# Report code coverage
139141
- ansible-test coverage report --all --omit "tests/*,hacking/*" --show-missing

0 commit comments

Comments
 (0)