Security update for Core, with self-updated composer
[yaffs-website] / vendor / consolidation / output-formatters / .travis.yml
index 63742acd233bea7d774a91e231997279515dbc9c..38dfb562ca82100d20e4edcec0ddfc41c06f7dc3 100644 (file)
@@ -8,13 +8,18 @@ branches:
 
 matrix:
   include:
-    - php: 7.1
-      env: dependencies=highest
-    - php: 7.0
-    - php: 5.6
-    - php: 5.5
-    - php: 5.4
-      env: dependencies=lowest
+    -
+      php: 7.1
+      env: 'HIGHEST_LOWEST="update" STABILITY="RC"'
+    -
+      php: 7.0.11
+    -
+      php: 5.6
+    -
+      php: 5.5
+    -
+      php: 5.4
+      env: 'HIGHEST_LOWEST="update --prefer-lowest"'
 
 sudo: false
 
@@ -24,9 +29,17 @@ cache:
     - $HOME/.composer/cache
 
 before_script:
-  - if [ -z "$dependencies" ]; then composer install --prefer-dist; fi;
-  - if [ "$dependencies" = "lowest" ]; then composer update --prefer-dist --prefer-lowest -n; fi;
-  - if [ "$dependencies" = "highest" ]; then composer update --prefer-dist -n; fi;
+  # 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
 
 script:
   - vendor/bin/phpunit