Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / g1a / composer-test-scenarios / example-travis.yml
diff --git a/vendor/g1a/composer-test-scenarios/example-travis.yml b/vendor/g1a/composer-test-scenarios/example-travis.yml
new file mode 100644 (file)
index 0000000..ea30333
--- /dev/null
@@ -0,0 +1,36 @@
+language: php
+
+branches:
+  # Only test the master branch and SemVer tags.
+  only:
+    - master
+    - '/^[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+.*$/'
+
+matrix:
+  include:
+    - php: 7.2
+      env: 'SCENARIO=symfony4 DEPENDENCIES=highest'
+    - php: 7.1
+      env: 'SCENARIO=symfony4'
+    - php: 7.0.11
+      env: 'SCENARIO=symfony3 DEPENDENCIES=highest'
+    - php: 7.0.11
+    - php: 5.6
+    - php: 5.5
+    - php: 5.4
+      env: 'SCENARIO=symfony2 DEPENDENCIES=lowest'
+
+sudo: false
+
+cache:
+  directories:
+    - $HOME/.composer/cache
+
+install:
+  - 'composer scenario "${SCENARIO}" "${DEPENDENCIES}"'
+
+script:
+  - composer test
+
+after_success:
+  - 'travis_retry php vendor/bin/coveralls -v'