language: python
python:
  - "2.7"
  - "3.6"
env:
  - DJANGO_VERSION=1.8.17
  - DJANGO_VERSION=1.9.12
  - DJANGO_VERSION=1.10.6
  - DJANGO_VERSION=1.11
addons:
  apt:
    packages:
     - enchant
before_install:
  - pip install codecov
install:
  - pip install -q -r test_requirements.txt
  - pip install -q Django==$DJANGO_VERSION
script:
  - python setup.py build
  - coverage run manage.py test test_tinymce
after_success:
 - codecov
before_deploy: wget https://raw.githubusercontent.com/romanvm/travis_scripts/master/publish_docs.py
deploy:
  - provider: script
    script: python publish_docs.py
    skip_cleanup: true
    on:
      branch: master
      python: "3.6"
      condition: "$DJANGO_VERSION = 1.11"
  - provider: pypi
    skip_cleanup: true
    user: $PYPI_USER
    password: $PYPI_PASS
    distributions: "sdist bdist_wheel"
    on:
      tags: true
      python: "3.6"
      condition: "$DJANGO_VERSION = 1.11"
notifications:
  email: false

language: python
python:
  - "2.7"
  - "3.6"
env:
  - DJANGO_VERSION=1.8.17
  - DJANGO_VERSION=1.9.12
  - DJANGO_VERSION=1.10.6
  - DJANGO_VERSION=1.11
addons:
  apt:
    packages:
     - enchant
before_install:
  - pip install codecov
install:
  - phantomjs --version
  - pip install -q -r test_requirements.txt
  - pip install -q Django==$DJANGO_VERSION
script:
  - python setup.py build
  - coverage run manage.py test test_tinymce
after_success:
 - codecov
before_deploy: wget https://raw.githubusercontent.com/romanvm/travis_scripts/master/publish_docs.py
deploy:
  - provider: script
    script: python publish_docs.py
    skip_cleanup: true
    on:
      branch: master
      python: "3.6"
      condition: "$DJANGO_VERSION = 1.11"
  - provider: pypi
    skip_cleanup: true
    user: $PYPI_USER
    password: $PYPI_PASS
    distributions: "sdist bdist_wheel"
    on:
      tags: true
      python: "3.6"
      condition: "$DJANGO_VERSION = 1.11"
notifications:
  email: false

Add logging PhantomJS version in Travis
Add logging PhantomJS version in Travis
