adding example apps, fixing powerup issues
[feisty_meow.git] / production / example_apps / zippy_maps / .travis.yml
1 language: php
2
3 dist: trusty
4
5 sudo: false
6
7 php:
8   - 5.6
9   - 7.0
10   - 7.1
11
12 matrix:
13   fast_finish: true
14
15   include:
16     - php: 7.0
17       env: PHPCS=1
18
19 before_script:
20   - if [[ $PHPCS = 1 ]]; then composer require cakephp/cakephp-codesniffer:~2.1; fi
21   - if [[ $PHPCS != 1 ]]; then composer install; fi
22   - if [[ $PHPCS != 1 ]]; then composer require phpunit/phpunit:"^5.7|^6.0"; fi
23   - if [[ $PHPCS != 1 ]]; then composer run-script post-install-cmd --no-interaction; fi
24
25 script:
26   - if [[ $PHPCS != 1 ]]; then vendor/bin/phpunit; fi
27   - if [[ $PHPCS = 1 ]]; then vendor/bin/phpcs -p --extensions=php --standard=vendor/cakephp/cakephp-codesniffer/CakePHP ./src ./tests ./config ./webroot; fi
28
29 notifications:
30   email: false