mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-24 05:45:27 +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
|
sudo: required
|
||||||
dist: trusty
|
dist: trusty
|
||||||
|
|
||||||
before_install:
|
addons:
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
|
apt:
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
sources:
|
||||||
sudo add-apt-repository ppa:beineri/opt-qt596-trusty -y &&
|
- sourceline: "ppa:beineri/opt-qt596-trusty"
|
||||||
sudo apt-get update -qq
|
packages:
|
||||||
; fi
|
- qt59base
|
||||||
|
- qt59svg
|
||||||
|
- qt59webengine
|
||||||
|
homebrew:
|
||||||
|
update: true
|
||||||
|
brewfile: scripts/Brewfile
|
||||||
|
|
||||||
install:
|
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 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" == "osx" ]]; then source scripts/prepare_python_macos.sh ; fi
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
||||||
sudo apt-get -y install qt59base qt59svg qt59webengine --allow-unauthenticated &&
|
|
||||||
source /opt/qt5*/bin/qt5*-env.sh
|
source /opt/qt5*/bin/qt5*-env.sh
|
||||||
; fi
|
; fi
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then source scripts/prepare_python_linux.sh ; fi
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then source scripts/prepare_python_linux.sh ; fi
|
||||||
|
Loading…
Reference in New Issue
Block a user