File tree Expand file tree Collapse file tree 1 file changed +29
-15
lines changed
Expand file tree Collapse file tree 1 file changed +29
-15
lines changed Original file line number Diff line number Diff line change 11---
22language : python
3-
43python :
5- - " 3.6"
6- - " 3.7"
7- - " 3.8"
8-
4+ - ' 3.6'
5+ - ' 3.7'
6+ - ' 3.8'
7+ env :
98# Each version of NetBox listed here must have a corresponding directory/configuration file
109# under development/netbox_<NETBOX_VER>/configuration.py
11- env :
12- - NETBOX_VER=v2.8.3
13- - NETBOX_VER=master
14-
10+ matrix :
11+ - NETBOX_VER=v2.8.3
12+ - NETBOX_VER=master
13+ global :
14+ secure : dpSnHW9xP++k8AOfguX6poI3HdK0fxaWq4aHZCqxbSrNXzokcWf8y5PRMsDLdrbWMXG2JOmFl32bgsYXzcyHoopJwIsetOK97Sjq/Nd/Ycqne/bfXUyvqvF/wcpM9OHd+baHOk+yBVIoEe0fLZVo5gP7abP8ZFyjtyXRxP6zapq0cnxI0H6EPdNRiWJIa8gZT/RKFEeQHN6PIiF5dRNv1Bw0Gp43VT48t0MwhvnH8bT7a6SAZp/4aCNN6+yMPXcUTFyN+Pm+rFwoi7xVafpdFoZb4tOcVoTPQWRS7kcf4y+kvTuUWizumt7Oo5J2MyprAZsdWhp/4RGcwzdr371Bj9RyjH4lm+yf3uGw+k5SmQbbvg/5JXzCwHZxZCKl8w289iqWd024AprrkR20o3awxsTlobkE2+T8TU4w3pL/Rponu3B9VyI+I5WZshbM19nvhQHXmyWoNdtCFGri0dL9XYpLHqpiE+zD1ZsVMth4d+YZkI2Mj6eMiBVuVR5568TGqZ/qHE2dX3h0vkWIYFU0XFwx/P46kCxf89FfRD9GShahoBH2P+EFIiz1TcnnLbw/kyXleYVMWYIXYDoUT+f3Xs265nMqCXHdTA6GUlS8A79rttgouWN99KEo6EkF0o2ECiwSJfU/mq3Z5KWoHL97KlC6C9G+DxPCrLsvbOPCcm4=
1515services :
16- - docker
17-
16+ - docker
17+ # --------------------------------------------------------------------------
18+ # Tests
19+ # --------------------------------------------------------------------------
1820before_script :
19- - pip install invoke docker-compose poetry
20-
21+ - pip install invoke docker-compose poetry
2122script :
22- - invoke build --python-ver $TRAVIS_PYTHON_VERSION
23- - invoke tests --python-ver $TRAVIS_PYTHON_VERSION
23+ - invoke build --python-ver $TRAVIS_PYTHON_VERSION
24+ - invoke tests --python-ver $TRAVIS_PYTHON_VERSION
25+ # --------------------------------------------------------------------------
26+ # Deploy
27+ # --------------------------------------------------------------------------
28+ before_deploy :
29+ - poetry build
30+ deploy :
31+ provider : script
32+ script : poetry publish -u __token__ -p $PYPI_TOKEN
33+ on :
34+ tags : true
35+ branch : master
36+ condition : $NETBOX_VER = master
37+ python : 3.7
You can’t perform that action at this time.
0 commit comments