Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / consolidation / log / .travis.yml
index 9a2e350df053d0c126fb49f22d0b496bcff6c680..8184b261def099d9298a37d979386251ec158836 100644 (file)
@@ -8,16 +8,16 @@ branches:
 
 matrix:
   include:
-    -
-      php: 7.1
-      env: 'HIGHEST_LOWEST="update" STABILITY="RC"'
-    -
-      php: 7.0.11
-    -
-      php: 5.6
-    -
-      php: 5.5
-      env: 'HIGHEST_LOWEST="update --prefer-lowest"'
+    - php: 7.2
+      env: 'SCENARIO=symfony4 HIGHEST_LOWEST="update"'
+    - php: 7.1
+      env: 'SCENARIO=symfony4'
+    - php: 7.0.11
+      env: 'HIGHEST_LOWEST="update"'
+    - php: 7.0.11
+    - php: 5.6
+    - php: 5.5
+      env: 'SCENARIO=symfony2 HIGHEST_LOWEST="update --prefer-lowest'
 
 sudo: false
 
@@ -26,22 +26,11 @@ cache:
     - vendor
     - $HOME/.composer/cache
 
-before_script:
-  # If running a highest/lowest dependencies test, get rid of composer.lock
-  - |
-    if [ -n "$HIGHEST_LOWEST" ] ; then
-      rm composer.lock
-      composer config --unset platform.php
-      composer config minimum-stability ${STABILITY-stable}
-    fi
-  - 'composer -n ${HIGHEST_LOWEST-install} --prefer-dist'
-  - composer why symfony/console
-  # Print out all  of the installed packages in alphabetical order, with versions
-  - composer licenses
+install:
+  - 'composer scenario "${SCENARIO}" "${HIGHEST_LOWEST-install}"'
 
 script:
-  - vendor/bin/phpcs --standard=PSR2 -n src
-  - vendor/bin/phpunit
+  - composer test
 
 after_success:
   - travis_retry php vendor/bin/coveralls -v