Skip to content

Instantly share code, notes, and snippets.

@KelSolaar
Created September 17, 2012 20:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save KelSolaar/3739512 to your computer and use it in GitHub Desktop.
Save KelSolaar/3739512 to your computer and use it in GitHub Desktop.
Travis - Setup file for PyQt and multiple Python interpreters.
language: python
python:
- "2.6"
- "2.7"
before_install:
- cd ..
- curl -O http://www.riverbankcomputing.co.uk/static/Downloads/sip4/sip-4.13.3.tar.gz
- tar -xvf sip-4.13.3.tar.gz
- cd sip-4.13.3
- python configure.py
- make -j 4
- sudo make install
- cd ..
- curl -O http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-x11-gpl-4.9.4.tar.gz
- tar -xvf PyQt-x11-gpl-4.9.4.tar.gz
- cd PyQt-x11-gpl-4.9.4
- python configure.py --confirm-license
- make -j 4
- sudo make install
- cd ../TravisRamblings
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
script: python test.py
@hugosenari
Copy link

Don't work anymore since http://www.riverbankcomputing.co.uk/static/Downloads/* return 404 :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment