Alternc  latest
Alternc logiel libre pour l'hébergement
.travis.yml
Go to the documentation of this file.
1 language: php
2 services:
3  - mysql
4 php:
5  - 7.1
6  - 7.0
7  - 5.6
8  - 5.5
9 script:
10  - grep --exclude-dir=../.git/ --exclude-dir=../vendor/ -l -r -e '#!/bin/[bash|sh]' ../ | uniq | xargs shellcheck
11  - ../vendor/bin/phpcs --ignore=../vendor/ ../
12  - ../vendor/bin/phpunit --coverage-clover=coverage.clover
13 before_script:
14  - composer require 'phpunit/dbunit=<3.0.2' squizlabs/php_codesniffer
15  - mysql -e 'create database alternc_test DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;'
16  - cd phpunit
17 after_script:
18  - wget https://scrutinizer-ci.com/ocular.phar
19  - php ocular.phar code-coverage:upload --format=php-clover coverage.clover