mirror of
https://github.com/borgbase/vorta
synced 2024-12-23 08:17:08 +00:00
Update .travis.yml
This commit is contained in:
parent
6026ef9a54
commit
3115f4cf4c
1 changed files with 11 additions and 15 deletions
26
.travis.yml
26
.travis.yml
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue