[Pkg-bitcoin-commits] [python-quamash] 198/269: Build PyQt & SIP in /build so flake8 doesn't check it

Jonas Smedegaard dr at jones.dk
Fri Nov 24 11:26:33 UTC 2017


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository python-quamash.

commit 0924c0d91b5f2902fefcfb508e0ab91aa03c4c8a
Author: Mark Harviston <mark.harviston at gmail.com>
Date:   Mon Jan 12 20:56:43 2015 -0800

    Build PyQt & SIP in /build so flake8 doesn't check it
---
 .travis.yml | 38 +++++++++++++++++++++++---------------
 1 file changed, 23 insertions(+), 15 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 1f8c737..68ba8e7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,7 +5,7 @@ python:
 before_install:
   - export DISPLAY=:99.0
   - sh -e /etc/init.d/xvfb start
-  #Cached Downloads
+  # Cached Downloads
   - sudo mkdir -p /downloads
   - sudo chmod a+rw /downloads
   - if [ ! -f /downloads/sip.tar.gz ];   then curl -L -o /downloads/sip.tar.gz http://sourceforge.net/projects/pyqt/files/sip/sip-4.16.5/sip-4.16.5.tar.gz; fi
@@ -14,34 +14,42 @@ before_install:
   - echo '6d01ea966a53e4c7ae5c5e48c40e49e5  /downloads/sip.tar.gz' | md5sum -c -
   - echo '997c3e443165a89a559e0d96b061bf70  /downloads/pyqt4.tar.gz' | md5sum -c -
   - echo '7f2eb79eaf3d7e5e7df5a4e9c8c9340e  /downloads/pyqt5.tar.gz' | md5sum -c -
+  # Builds
+  - sudo mkdir -p /builds
+  - sudo chmod a+rw /builds
 install:
+  # Qt4
   - sudo apt-get install -y libqt4-dev
+  # Qt5
+  - sudo add-apt-repository -y ppa:beineri/opt-qt54
+  - sudo apt-get update
+  - sudo apt-get install -y qt54base
+  # Builds
+  - pushd /builds
   # SIP
-  - tar xzf /downloads/sip.tar.gz
-  - cd sip-4.16.5
+  - tar xzf /downloads/sip.tar.gz --keep-newer-files
+  - pushd sip-4.16.5
   - python configure.py
   - make
   - sudo make install
-  - cd ..
+  - popd
   # PyQt4
-  - tar xzf /downloads/pyqt4.tar.gz
-  - cd PyQt-x11-gpl-4.11.3
+  - 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
-  - cd ..
-  # Qt5
-  - sudo add-apt-repository -y ppa:beineri/opt-qt54
-  - sudo apt-get update
-  - sudo apt-get install -y qt54base
-  - source /opt/qt54/bin/qt54-env.sh
+  - popd
   # PyQt5
-  - tar xzf /downloads/pyqt5.tar.gz
-  - cd PyQt-gpl-5.4
+  - source /opt/qt54/bin/qt54-env.sh  # switch to Qt5
+  - tar xzf /downloads/pyqt5.tar.gz --keep-newer-files
+  - pushd PyQt-gpl-5.4
   - python configure.py -c --confirm-license --no-designer-plugin -e QtCore -e QtGui -e QtWidgets
   - make
   - sudo make install
-  - cd ..
+  - popd
+  # Builds Complete
+  - popd
   # PySide
   - pip install --find-links wheelhouse/ pyside
   - python `which pyside_postinstall.py` -install

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-bitcoin/python-quamash.git



More information about the Pkg-bitcoin-commits mailing list