title: Install PyQt4 with Python3 on Travis CI
body: <p>I'm trying to make at least one successful build on Travis CI but no luck so far (7 errored builds)</p>
  
  <p>The problem is that I use PyQt4 and it seems to be too complicated to make it work with Travis.</p>
  
  <p>My <strong>.travis.yml</strong></p>
  
  <pre><code>language: python
  python:
    - "3.5"
  before_install:
      #- sudo apt-get install mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev
      #- sudo apt-get install python3-sip python3-sip-dev python3-pyqt4 cmake
    - sudo mkdir -p /downloads
    - sudo chmod a+rw /downloads
    - curl -L http://sourceforge.net/projects/pyqt/files/sip/sip-4.16.5/sip-4.16.5.tar.gz -o /downloads/sip.tar.gz 
    - curl -L http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-4.11.3/PyQt-x11-gpl-4.11.3.tar.gz -o /downloads/pyqt4.tar.gz
    # Builds
    - sudo mkdir -p /builds
    - sudo chmod a+rw /builds
  install:
    # Qt4
    - pushd /builds
    # SIP
    - tar xzf /downloads/sip.tar.gz --keep-newer-files
    - pushd sip-4.16.5
    - python configure.py
    - make
    - sudo make install
    - popd
    # PyQt4
    - tar xzf /downloads/pyqt4.tar.gz --keep-newer-files
    - pushd PyQt-x11-gpl-4.11.3
    - python configure.py -c --confirm-license --no-designer-plugin -e QtCore -e QtGui
    - make
    - sudo make install
    - popd
    # Builds Complete
    - popd
    - pip install -r requirements.txt
  </code></pre>
  
  <p>Everything before running a script is OK. And right after the script is run, Travis says that:</p>
  
  <blockquote>
    <p>ERROR: Failure: ImportError (No module named 'PyQt4')</p>
  </blockquote>
  
  <p>What do I do wrong?</p>