Skip to content

Commit

Permalink
travis: switch to stable win/osx builds
Browse files Browse the repository at this point in the history
  • Loading branch information
lazka committed Feb 25, 2017
1 parent b56ec40 commit eb1f5f3
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,16 @@ matrix:
sudo: required
dist: trusty
env: TYPE="windows" PYTHON="python2" PYARGS="-R" APT_PACKAGES="wine xvfb p7zip-full"
- os: linux
language: generic
sudo: required
dist: trusty
env: TYPE="windows" PYTHON="python3" PYARGS="-R -bb" APT_PACKAGES="wine xvfb p7zip-full"

install:
- if [ "$APT_PACKAGES" != "" ]; then sudo dpkg --add-architecture i386; fi
- if [ "$APT_PACKAGES" != "" ]; then travis_retry sudo add-apt-repository -y ppa:lazka/dumpingplace; fi
- if [ "$APT_PACKAGES" != "" ]; then sudo apt-get update -q || true; fi
- if [ "$APT_PACKAGES" != "" ]; then travis_retry sudo apt-get install -y $(echo $APT_PACKAGES); fi
- if [ "$TYPE" == "linux" ]; then travis_retry pip install --upgrade pep8 pyflakes; fi
- if [ "$TYPE" == "osx" ]; then travis_retry wget https://bitbucket.org/lazka/quodlibet/downloads/QuodLibet-latest.dmg; fi
- if [ "$TYPE" == "osx" ]; then hdiutil attach -readonly -mountpoint _mount QuodLibet-latest.dmg; fi
- if [ "$TYPE" == "windows" ] && [ "$PYTHON" == "python2" ]; then travis_retry wget https://bitbucket.org/lazka/quodlibet/downloads/quodlibet-latest-installer.exe -O win-inst.exe; fi
- if [ "$TYPE" == "windows" ] && [ "$PYTHON" == "python3" ]; then travis_retry wget https://bitbucket.org/lazka/quodlibet/downloads/quodlibet-latest-installer-py3.exe -O win-inst.exe; fi
- if [ "$TYPE" == "osx" ]; then travis_retry wget https://bitbucket.org/lazka/quodlibet/downloads/QuodLibet-3.8.1.dmg; fi
- if [ "$TYPE" == "osx" ]; then hdiutil attach -readonly -mountpoint _mount QuodLibet-3.8.1.dmg; fi
- if [ "$TYPE" == "windows" ] && [ "$PYTHON" == "python2" ]; then travis_retry wget https://bitbucket.org/lazka/quodlibet/downloads/quodlibet-3.8.1-installer.exe -O win-inst.exe; fi
- if [ "$TYPE" == "windows" ]; then 7z x -o_temp win-inst.exe > /dev/null; fi
- if [ "$TYPE" == "windows" ]; then mv $(dirname _temp/*/bin) _win_inst; fi

Expand Down

0 comments on commit eb1f5f3

Please sign in to comment.