mirror of
https://github.com/mosbth/cimage.git
synced 2025-08-06 16:16:39 +02:00
make tests pass on travis
This commit is contained in:
44
.travis.yml
44
.travis.yml
@@ -4,9 +4,10 @@ php:
|
|||||||
- 5.4
|
- 5.4
|
||||||
- 5.5
|
- 5.5
|
||||||
- 5.6
|
- 5.6
|
||||||
|
- "7.0"
|
||||||
|
- "7.1"
|
||||||
- hhvm
|
- hhvm
|
||||||
- nightly
|
- nightly
|
||||||
- "7.0"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -35,48 +36,13 @@ matrix:
|
|||||||
|
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
|
- make install
|
||||||
# Create a build directory for output
|
- make check
|
||||||
# Store all files in your own bin
|
|
||||||
- install --directory build/bin
|
|
||||||
- export PATH=$PATH:$PWD/build/bin/
|
|
||||||
|
|
||||||
# Install validation tools
|
|
||||||
#- npm install -g htmlhint csslint jshint jscs jsonlint js-yaml html-minifier@0.8.0 clean-css uglify-js
|
|
||||||
|
|
||||||
# Install phpcs
|
|
||||||
- curl -OL https://squizlabs.github.io/PHP_CodeSniffer/phpcs.phar
|
|
||||||
- install --mode 0755 phpcs.phar $PWD/build/bin/phpcs
|
|
||||||
|
|
||||||
# Install phpmd
|
|
||||||
#- wget -c http://static.phpmd.org/php/latest/phpmd.phar
|
|
||||||
#- install --mode 0755 phpmd.phar $PWD/build/bin/phpmd
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
# Check versions of validation tools
|
- make test
|
||||||
#- node --version
|
|
||||||
#- npm --version
|
|
||||||
|
|
||||||
#- htmlhint --version
|
|
||||||
#- csslint --version
|
|
||||||
#- jscs --version
|
|
||||||
#- jshint --version
|
|
||||||
- phpcs --version
|
|
||||||
#- phpmd --version
|
|
||||||
#- jsonlint --version
|
|
||||||
#- js-yaml --version
|
|
||||||
#- shellcheck --version
|
|
||||||
|
|
||||||
#- html-minifier --version
|
|
||||||
#- cleancss --version
|
|
||||||
#- uglifyjs --version
|
|
||||||
|
|
||||||
# Run validation & publish
|
|
||||||
- composer validate
|
|
||||||
- make phpunit
|
|
||||||
#- make phpcs
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user