diff --git a/.travis.yml b/.travis.yml index 881bcac93..b81b57bed 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,7 @@ language: php php: - 5.4 - - 5.6 + - 5.6.29 - 7.0 - 7.1 @@ -34,9 +34,9 @@ services: - mysql before_install: + - sudo apt-get -qq update - bash ./application/scripts/travis/install-extensions.sh - bash ./application/scripts/travis/install-services.sh - - sudo apt-get -qq update - sudo apt-get install -y raptor2-utils - phpenv config-rm xdebug.ini - mysql -e 'CREATE DATABASE ontowiki_TEST;' diff --git a/application/scripts/travis/install-extensions.sh b/application/scripts/travis/install-extensions.sh index 9335333fb..c78e4379f 100644 --- a/application/scripts/travis/install-extensions.sh +++ b/application/scripts/travis/install-extensions.sh @@ -8,7 +8,7 @@ if [[ $TRAVIS_PHP_VERSION = "hhv"* ]]; then fi # get build dependencies -sudo apt-get install -y unixODBC-dev +sudo apt-get install -y unixodbc-dev PHPVERSION=$( php -v | head -n1 | sed "s|^PHP \([0-9][0-9\.]*\).*$|\1|" | tr -d '\n' )