Security update for Core, with self-updated composer
[yaffs-website] / vendor / consolidation / output-formatters / .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     -
21       php: 5.4
22       env: 'HIGHEST_LOWEST="update --prefer-lowest"'
23
24 sudo: false
25
26 cache:
27   directories:
28     - vendor
29     - $HOME/.composer/cache
30
31 before_script:
32   # If running a highest/lowest dependencies test, get rid of composer.lock
33   - |
34     if [ -n "$HIGHEST_LOWEST" ] ; then
35       rm composer.lock
36       composer config --unset platform.php
37       composer config minimum-stability ${STABILITY-stable}
38     fi
39   - 'composer -n ${HIGHEST_LOWEST-install} --prefer-dist'
40   - composer why symfony/console
41   # Print out all  of the installed packages in alphabetical order, with versions
42   - composer licenses
43
44 script:
45   - vendor/bin/phpunit
46   - vendor/bin/phpcs --standard=PSR2 -n src
47
48 after_success:
49   - travis_retry php vendor/bin/coveralls -v