mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-19 19:36:11 +00:00
use travis apt and homebrew addon for reliability (#1005)
* use travis homebrew addon for reliability * use travis apt addon for reliability * fix bad sources key
This commit is contained in:
parent
ea5dc6e594
commit
a111db2ae2
20
.travis.yml
20
.travis.yml
@ -23,20 +23,22 @@ matrix:
|
||||
sudo: required
|
||||
dist: trusty
|
||||
|
||||
before_install:
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
||||
sudo add-apt-repository ppa:beineri/opt-qt596-trusty -y &&
|
||||
sudo apt-get update -qq
|
||||
; fi
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
- sourceline: "ppa:beineri/opt-qt596-trusty"
|
||||
packages:
|
||||
- qt59base
|
||||
- qt59svg
|
||||
- qt59webengine
|
||||
homebrew:
|
||||
update: true
|
||||
brewfile: scripts/Brewfile
|
||||
|
||||
install:
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew uninstall -f gdal postgis numpy geos libpq postgresql mercurial libspatialite ; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew bundle --file=scripts/Brewfile -v ; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export PATH="/usr/local/opt/qt/bin:$PATH" ; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then source scripts/prepare_python_macos.sh ; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
||||
sudo apt-get -y install qt59base qt59svg qt59webengine --allow-unauthenticated &&
|
||||
source /opt/qt5*/bin/qt5*-env.sh
|
||||
; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then source scripts/prepare_python_linux.sh ; fi
|
||||
|
Loading…
Reference in New Issue
Block a user