Skip to content

Commit 854b659

Browse files
Add Python3.7 to travis tests (#3)
1 parent 14c4bf4 commit 854b659

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

.travis.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
---
22

33
language: python
4-
5-
python:
6-
- "3.6"
4+
matrix:
5+
include:
6+
- name: "Python 3.6"
7+
python: 3.6
8+
env: PYTHON_VER=3.6
9+
- name: "Python 3.7"
10+
python: 3.7
11+
env: PYTHON_VER=3.7
12+
#python:
13+
# - "3.6"
14+
# - "3.7"
715

816
sudo: false
917

@@ -26,5 +34,5 @@ before_script:
2634
- cd ~/ansible_collections/$COLLECTION_NAMESPACE/$COLLECTION_NAME
2735

2836
script:
29-
- ansible-test units --python 3.6
37+
- ansible-test units --python $PYTHON_VER
3038
- black . --check

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1+
[![Build Status](https://travis-ci.org/FragmentedPacket/netbox_modules.svg?branch=master)](https://travis-ci.org/FragmentedPacket/netbox_modules)
12
# Netbox modules for Ansible using Ansible Collections
2-
3+
34
**THIS IS A WIP DUE TO COLLECTIONS BEING IN TECH REVIEW CURRENTLY (Ansible 2.8) BUT WILL BE UPDATED AS NECESSARY AS COLLECTIONS MATURES**
45

56
TODO:
67
- ~~initial build and changes to properly import module_utils~~
78
- Add testing to a CI (Travis?) and existing unit tests
89
- ~~Initial unit tests~~
9-
- Test different Python versions (3.6/3.7)
10+
- ~~Test different Python versions (3.6/3.7)~~
1011
- Local testing using Tox
1112
- Test currently supported versions of Ansible
1213
- ~~Add documentation on how to use to README~~

0 commit comments

Comments
 (0)