  dist: xenial
  matrix:
      fast_finish: true
      include:
        - { python: "2.7", env: DJANGO=1.11 }
  
        - { python: "3.4", env: DJANGO=1.11 }
        - { python: "3.4", env: DJANGO=2.0 }
  
        - { python: "3.5", env: DJANGO=1.11 }
 
</s> remove       - { python: "2.7", env: TOXENV=lint }
      - { python: "2.7", env: TOXENV=docs }
 </s> add       - { python: "3.7", env: TOXENV=lint }
      - { python: "3.7", env: TOXENV=docs } </s> remove         six.text_type('2016-01-10'): '2016-01-10',
 </s> add         str('2016-01-10'): '2016-01-10', </s> remove @six.add_metaclass(SerializerMetaclass)
class Serializer(BaseSerializer):
 </s> add class Serializer(BaseSerializer, metaclass=SerializerMetaclass): </s> remove         six.text_type('2016-01-10T00:00:00'): '2016-01-10T00:00:00',
 </s> add         str('2016-01-10T00:00:00'): '2016-01-10T00:00:00', </s> remove from __future__ import unicode_literals
 </s> add 
  dist: xenial
  matrix:
      fast_finish: true
      include:

  
        - { python: "3.4", env: DJANGO=1.11 }
        - { python: "3.4", env: DJANGO=2.0 }
  
        - { python: "3.5", env: DJANGO=1.11 }
keep keep keep keep replace keep keep keep keep keep
 Dropped Python 2 compatibility. (#6615)

Thanks to Jon Dufresne (@jdufresne) for review.

Co-authored-by: Asif Saif Uddin <auvipy@gmail.com>
Co-authored-by: Rizwan Mansuri <Rizwan@webbyfox.com> 
.travis.yml