Merge pull request #1112 from zklosko/fix-travis
Fixing issues with Travis CI
This commit is contained in:
commit
bfc9a697ce
3 changed files with 34 additions and 25 deletions
57
.travis.yml
57
.travis.yml
|
@ -7,6 +7,10 @@ env:
|
|||
global:
|
||||
- ENVIRONMENT=testing
|
||||
- LIBRETIME_LOG_DIR=/tmp/log/libretime
|
||||
|
||||
before_install:
|
||||
- sudo add-apt-repository -y ppa:libretime/libretime
|
||||
- sudo apt-get -q update
|
||||
|
||||
addons:
|
||||
apt:
|
||||
|
@ -23,30 +27,34 @@ addons:
|
|||
- liquidsoap-plugin-vorbis
|
||||
- python3-gst-1.0
|
||||
- silan
|
||||
- gcc
|
||||
- gir1.2-gtk-3.0
|
||||
- python3-gi
|
||||
- python3-gi-cairo
|
||||
- python-cairo
|
||||
- pkg-config
|
||||
- libcairo2-dev
|
||||
|
||||
jobs:
|
||||
include:
|
||||
- language: php
|
||||
php: 7.3
|
||||
stage: test
|
||||
- language: php
|
||||
php: 7.2
|
||||
stage: test
|
||||
- language: php
|
||||
php: 7.1
|
||||
stage: test
|
||||
# - language: php
|
||||
# php: 7.3
|
||||
# stage: test
|
||||
# - language: php
|
||||
# php: 7.2
|
||||
# stage: test
|
||||
- language: php
|
||||
php: 7.0
|
||||
stage: test
|
||||
- language: php
|
||||
php: 5.6
|
||||
stage: test
|
||||
- language: python
|
||||
python: 3.8
|
||||
stage: test
|
||||
- language: python
|
||||
python: 3.7
|
||||
stage: test
|
||||
# - language: python
|
||||
# python: 3.8
|
||||
# stage: test
|
||||
# - language: python
|
||||
# python: 3.6
|
||||
# stage: test
|
||||
- language: python
|
||||
python: 3.5
|
||||
stage: test
|
||||
|
@ -66,15 +74,18 @@ jobs:
|
|||
tags: true
|
||||
allow_failures:
|
||||
# https://github.com/LibreTime/libretime/issues/779
|
||||
- language: php
|
||||
php: 7.3
|
||||
- language: php
|
||||
php: 7.2
|
||||
- language: php
|
||||
php: 7.1
|
||||
# - language: php
|
||||
# php: 7.3
|
||||
# - language: php
|
||||
# php: 7.2
|
||||
# Ubuntu Bionic cloud image uses Python 3.6.9
|
||||
# - language: python
|
||||
# python: 3.8
|
||||
# https://github.com/LibreTime/libretime/issues/1041
|
||||
- language: python
|
||||
python: 3.5
|
||||
# - language: python
|
||||
# python: 3.5
|
||||
- language: php
|
||||
php: 5.6
|
||||
|
||||
install: ./travis/install.sh
|
||||
before_script:
|
||||
|
|
|
@ -6,7 +6,6 @@ if [[ -n "$TRAVIS_PHP_VERSION" ]]; then
|
|||
composer install
|
||||
fi
|
||||
if [[ -n "$TRAVIS_PYTHON_VERSION" ]]; then
|
||||
pyenv local $TRAVIS_PYTHON_VERSION
|
||||
pushd python_apps/airtime_analyzer
|
||||
pip3 install -e .
|
||||
popd
|
||||
|
|
|
@ -8,7 +8,6 @@ if [[ -n "$TRAVIS_PHP_VERSION" ]]; then
|
|||
popd
|
||||
fi
|
||||
if [[ -n "$TRAVIS_PYTHON_VERSION" ]]; then
|
||||
pyenv local $TRAVIS_PYTHON_VERSION
|
||||
pushd python_apps/airtime_analyzer
|
||||
nosetests
|
||||
popd
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue