diff --git a/.travis.yml b/.travis.yml index d05bf1451..6bf9c2f50 100644 --- a/.travis.yml +++ b/.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: diff --git a/travis/install.sh b/travis/install.sh index 47e36a6ce..edcaaffb3 100755 --- a/travis/install.sh +++ b/travis/install.sh @@ -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 diff --git a/travis/test.sh b/travis/test.sh index 81aad4a26..ab51c72e8 100755 --- a/travis/test.sh +++ b/travis/test.sh @@ -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