mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
80439c495e
* Rudimentary python3 support * update docs and trigger Travis * fix some of the tests * fix all python3 errors * change env calls to just python * add @python_2_unicode_compatible decorator to models for python2 compatibility * switch netbox.configuration to from netbox import configuration
24 lines
365 B
YAML
24 lines
365 B
YAML
sudo: required
|
|
|
|
services:
|
|
- docker
|
|
|
|
env:
|
|
- DOCKER_TAG=$TRAVIS_TAG
|
|
|
|
language: python
|
|
python:
|
|
- "2.7"
|
|
- "3.4"
|
|
- "3.5"
|
|
- "3.6"
|
|
install:
|
|
- pip install -r requirements.txt
|
|
- pip install pep8
|
|
script:
|
|
- ./scripts/cibuild.sh
|
|
after_success:
|
|
- if [ ! -z "$TRAVIS_TAG" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
|
|
./scripts/docker-build.sh;
|
|
fi
|