  install:
    - pip install $DJANGO
    - pip install defusedxml==0.3
    - "if [[ ${TRAVIS_PYTHON_VERSION::1} != '3' ]]; then pip install oauth2==1.5.211; fi"
    - "if [[ ${TRAVIS_PYTHON_VERSION::1} != '3' ]]; then pip install django-oauth-plus==2.0; fi"
    - "if [[ ${TRAVIS_PYTHON_VERSION::1} != '3' ]]; then pip install django-oauth2-provider==0.2.4; fi"
    - "if [[ ${TRAVIS_PYTHON_VERSION::1} != '3' ]]; then pip install django-guardian==1.1.1; fi"
    - "if [[ ${DJANGO::11} == 'django==1.3' ]]; then pip install django-filter==0.5.4; fi"
    - "if [[ ${DJANGO::11} != 'django==1.3' ]]; then pip install django-filter==0.6; fi"
    - export PYTHONPATH=.
 
</s> remove        django-oauth-plus==2.0
 </s> add        django-oauth-plus==2.2.1 </s> remove        django-oauth-plus==2.0
 </s> add        django-oauth-plus==2.2.1 </s> remove        django-oauth-plus==2.0
 </s> add        django-oauth-plus==2.2.1 </s> remove        django-oauth-plus==2.0
 </s> add        django-oauth-plus==2.2.1 </s> remove        django-oauth-plus==2.0
 </s> add        django-oauth-plus==2.2.1
  - "if [[ ${TRAVIS_PYTHON_VERSION::1} != '3' ]]; then pip install django-oauth-plus==2.2.1; fi"
  install:
    - pip install $DJANGO
    - pip install defusedxml==0.3
    - "if [[ ${TRAVIS_PYTHON_VERSION::1} != '3' ]]; then pip install oauth2==1.5.211; fi"
  - "if [[ ${TRAVIS_PYTHON_VERSION::1} != '3' ]]; then pip install django-oauth-plus==2.2.1; fi"
    - "if [[ ${TRAVIS_PYTHON_VERSION::1} != '3' ]]; then pip install django-oauth2-provider==0.2.4; fi"
    - "if [[ ${TRAVIS_PYTHON_VERSION::1} != '3' ]]; then pip install django-guardian==1.1.1; fi"
    - "if [[ ${DJANGO::11} == 'django==1.3' ]]; then pip install django-filter==0.5.4; fi"
    - "if [[ ${DJANGO::11} != 'django==1.3' ]]; then pip install django-filter==0.6; fi"
    - export PYTHONPATH=.
keep keep keep keep replace keep keep keep keep keep
 update requirements for django-oauth-plus to 2.2.1 
.travis.yml