1
0
Fork 0
mirror of https://github.com/borgbase/vorta synced 2024-12-23 00:07:58 +00:00

Update .travis.yml

This commit is contained in:
Manuel Riel 2018-11-20 13:41:11 +08:00 committed by GitHub
parent 6026ef9a54
commit 3115f4cf4c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,10 +5,18 @@ addons:
apt: apt:
packages: packages:
- xvfb - xvfb
- python3.6-venv
cache: cache:
- pip - pip
- directories:
- $HOME/.pyenv_cache
before_install:
- |
if [[ -n "$PYENV_VERSION" ]]; then
wget https://github.com/praekeltfoundation/travis-pyenv/releases/download/0.4.0/setup-pyenv.sh
source setup-pyenv.sh
fi
sudo: required sudo: required
@ -16,25 +24,15 @@ dist: trusty
env: env:
global: global:
# used by ci-helpers
- SETUP_XVFB=true - SETUP_XVFB=true
- PIP_DEPENDENCIES='hacking pytest pytest-qt' - PIP_DEPENDENCIES='hacking pytest pytest-qt'
- MPLBACKEND=TkAgg # for osx
matrix: matrix:
include: include:
- os: osx
env:
- PYTEST_QT_API=pyqt5
- PYQT_PACKAGE='pyqt=5'
- PYTHON_VERSION=3.6
- RUN_PYINSTALLER=true
- os: linux - os: linux
dist: trusty dist: trusty
env: env:
- PYTEST_QT_API=pyqt5 - PYENV_VERSION=py36
- PYQT_PACKAGE='pyqt=5'
- PYTHON_VERSION=3.6
- RUN_PYINSTALLER=true - RUN_PYINSTALLER=true
install: install:
@ -47,8 +45,6 @@ install:
brew cask install xquartz brew cask install xquartz
fi fi
- python3 -m venv venv
- source activate venv
- pip install . - pip install .
- pip install -r requirements-dev.txt - pip install -r requirements-dev.txt