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:
|
global:
|
||||||
- ENVIRONMENT=testing
|
- ENVIRONMENT=testing
|
||||||
- LIBRETIME_LOG_DIR=/tmp/log/libretime
|
- LIBRETIME_LOG_DIR=/tmp/log/libretime
|
||||||
|
|
||||||
|
before_install:
|
||||||
|
- sudo add-apt-repository -y ppa:libretime/libretime
|
||||||
|
- sudo apt-get -q update
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
|
@ -23,30 +27,34 @@ addons:
|
||||||
- liquidsoap-plugin-vorbis
|
- liquidsoap-plugin-vorbis
|
||||||
- python3-gst-1.0
|
- python3-gst-1.0
|
||||||
- silan
|
- silan
|
||||||
|
- gcc
|
||||||
|
- gir1.2-gtk-3.0
|
||||||
|
- python3-gi
|
||||||
|
- python3-gi-cairo
|
||||||
|
- python-cairo
|
||||||
|
- pkg-config
|
||||||
|
- libcairo2-dev
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
- language: php
|
# - language: php
|
||||||
php: 7.3
|
# php: 7.3
|
||||||
stage: test
|
# stage: test
|
||||||
- language: php
|
# - language: php
|
||||||
php: 7.2
|
# php: 7.2
|
||||||
stage: test
|
# stage: test
|
||||||
- language: php
|
|
||||||
php: 7.1
|
|
||||||
stage: test
|
|
||||||
- language: php
|
- language: php
|
||||||
php: 7.0
|
php: 7.0
|
||||||
stage: test
|
stage: test
|
||||||
- language: php
|
- language: php
|
||||||
php: 5.6
|
php: 5.6
|
||||||
stage: test
|
stage: test
|
||||||
- language: python
|
# - language: python
|
||||||
python: 3.8
|
# python: 3.8
|
||||||
stage: test
|
# stage: test
|
||||||
- language: python
|
# - language: python
|
||||||
python: 3.7
|
# python: 3.6
|
||||||
stage: test
|
# stage: test
|
||||||
- language: python
|
- language: python
|
||||||
python: 3.5
|
python: 3.5
|
||||||
stage: test
|
stage: test
|
||||||
|
@ -66,15 +74,18 @@ jobs:
|
||||||
tags: true
|
tags: true
|
||||||
allow_failures:
|
allow_failures:
|
||||||
# https://github.com/LibreTime/libretime/issues/779
|
# https://github.com/LibreTime/libretime/issues/779
|
||||||
- language: php
|
# - language: php
|
||||||
php: 7.3
|
# php: 7.3
|
||||||
- language: php
|
# - language: php
|
||||||
php: 7.2
|
# php: 7.2
|
||||||
- language: php
|
# Ubuntu Bionic cloud image uses Python 3.6.9
|
||||||
php: 7.1
|
# - language: python
|
||||||
|
# python: 3.8
|
||||||
# https://github.com/LibreTime/libretime/issues/1041
|
# https://github.com/LibreTime/libretime/issues/1041
|
||||||
- language: python
|
# - language: python
|
||||||
python: 3.5
|
# python: 3.5
|
||||||
|
- language: php
|
||||||
|
php: 5.6
|
||||||
|
|
||||||
install: ./travis/install.sh
|
install: ./travis/install.sh
|
||||||
before_script:
|
before_script:
|
||||||
|
|
|
@ -6,7 +6,6 @@ if [[ -n "$TRAVIS_PHP_VERSION" ]]; then
|
||||||
composer install
|
composer install
|
||||||
fi
|
fi
|
||||||
if [[ -n "$TRAVIS_PYTHON_VERSION" ]]; then
|
if [[ -n "$TRAVIS_PYTHON_VERSION" ]]; then
|
||||||
pyenv local $TRAVIS_PYTHON_VERSION
|
|
||||||
pushd python_apps/airtime_analyzer
|
pushd python_apps/airtime_analyzer
|
||||||
pip3 install -e .
|
pip3 install -e .
|
||||||
popd
|
popd
|
||||||
|
|
|
@ -8,7 +8,6 @@ if [[ -n "$TRAVIS_PHP_VERSION" ]]; then
|
||||||
popd
|
popd
|
||||||
fi
|
fi
|
||||||
if [[ -n "$TRAVIS_PYTHON_VERSION" ]]; then
|
if [[ -n "$TRAVIS_PYTHON_VERSION" ]]; then
|
||||||
pyenv local $TRAVIS_PYTHON_VERSION
|
|
||||||
pushd python_apps/airtime_analyzer
|
pushd python_apps/airtime_analyzer
|
||||||
nosetests
|
nosetests
|
||||||
popd
|
popd
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue