Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / consolidation / log / .travis.yml
1 language: php
2
3 branches:
4   # Only test the master branch and SemVer tags.
5   only:
6     - master
7     - /^[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+.*$/
8
9 matrix:
10   include:
11     -
12       php: 7.1
13       env: 'HIGHEST_LOWEST="update" STABILITY="RC"'
14     -
15       php: 7.0.11
16     -
17       php: 5.6
18     -
19       php: 5.5
20       env: 'HIGHEST_LOWEST="update --prefer-lowest"'
21
22 sudo: false
23
24 cache:
25   directories:
26     - vendor
27     - $HOME/.composer/cache
28
29 before_script:
30   # If running a highest/lowest dependencies test, get rid of composer.lock
31   - |
32     if [ -n "$HIGHEST_LOWEST" ] ; then
33       rm composer.lock
34       composer config --unset platform.php
35       composer config minimum-stability ${STABILITY-stable}
36     fi
37   - 'composer -n ${HIGHEST_LOWEST-install} --prefer-dist'
38   - composer why symfony/console
39   # Print out all  of the installed packages in alphabetical order, with versions
40   - composer licenses
41
42 script:
43   - vendor/bin/phpcs --standard=PSR2 -n src
44   - vendor/bin/phpunit
45
46 after_success:
47   - travis_retry php vendor/bin/coveralls -v