Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / drupal-composer / drupal-scaffold / .travis.yml
index 72635d7ce0955f616b16dfa7ca6b6f8ffbffda93..ba2f61edd18ad75859e73a7b2e3f272b8d68e6cb 100644 (file)
@@ -1,8 +1,25 @@
 language: php
-php:
-  - 5.5
-  - 5.6
-  - 7.0
+
+branches:
+  # Only test the master branch and SemVer tags.
+  only:
+    - master
+    - /^[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+.*$/
+
+matrix:
+  fast_finish: true
+  include:
+    - php: 7.2
+      env: 'DEPENCENCIES=highest'
+    - php: 7.2
+    - php: 7.1
+    - php: 7.0.11
+    - php: 5.6
+      env: 'SCENARIO=phpunit4'
+    - php: 5.5
+      env: 'SCENARIO=phpunit4'
+    - php: 5.5
+      env: 'SCENARIO=phpunit4 DEPENDENCIES=lowest'
 
 sudo: false
 
@@ -15,11 +32,11 @@ before_install:
   - composer --version
 
 install:
-  - composer --verbose install
+  - 'composer scenario "${SCENARIO}" "${DEPENDENCIES}"'
 
 before_script:
   - git config --global user.email "travisci@example.com"
   - git config --global user.name "Travis CI Test"
 
 script:
-  - ./vendor/bin/phpunit
+  - composer test