[TASK] travis-ci on PHP7 only 32/46732/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Tue, 16 Feb 2016 20:51:48 +0000 (21:51 +0100)
committerBenni Mack <benni@typo3.org>
Tue, 16 Feb 2016 22:27:15 +0000 (23:27 +0100)
TYPO3 CMS 8 will rely on PHP version 7. Previous PHP version
tests can be removed from travis-ci.

Change-Id: I976b33d8a50c6ab7a97a45e6828229df531a82cd
Resolves: #73509
Releases: master
Reviewed-on: https://review.typo3.org/46732
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
.travis.yml

index ee972ee..6992161 100644 (file)
@@ -4,12 +4,8 @@ matrix:
   fast_finish: true
 
   include:
-    - php: 5.5
-      env: UNIT_TESTS=yes FUNCTIONAL_TESTS=yes ACCEPTANCE_TESTS=yes PHP_LINT=yes XLF_CHECK=yes SUBMODULE_TEST=yes
-    - php: 5.6
-      env: UNIT_TESTS=yes FUNCTIONAL_TESTS=yes ACCEPTANCE_TESTS=yes PHP_LINT=yes
     - php: 7
-      env: UNIT_TESTS=yes FUNCTIONAL_TESTS=yes ACCEPTANCE_TESTS=yes PHP_LINT=yes
+      env: UNIT_TESTS=yes FUNCTIONAL_TESTS=yes ACCEPTANCE_TESTS=yes PHP_LINT=yes XLF_CHECK=yes SUBMODULE_TEST=yes
 
 sudo: false
 
@@ -51,11 +47,6 @@ notifications:
 
 before_script:
   - phpenv config-rm xdebug.ini
-  - >
-    if [[ "$TRAVIS_PHP_VERSION" < "7" && -e ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini ]]; then
-        echo "extension = memcache.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
-        echo "extension = redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
-    fi
   - if [ "$GITHUB_COMPOSER_AUTH" ]; then composer config -g github-oauth.github.com $GITHUB_COMPOSER_AUTH; fi
   - composer install