mirror of
https://github.com/mosbth/cimage.git
synced 2025-08-02 22:27:44 +02:00
moving to new travis environment
This commit is contained in:
74
.travis.yml
74
.travis.yml
@@ -1,4 +1,5 @@
|
|||||||
language: php
|
language: php
|
||||||
|
|
||||||
php:
|
php:
|
||||||
- 5.4
|
- 5.4
|
||||||
- 5.5
|
- 5.5
|
||||||
@@ -7,14 +8,85 @@ php:
|
|||||||
- nightly
|
- nightly
|
||||||
- "7.0"
|
- "7.0"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
sudo: false
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
git:
|
||||||
|
submodules: false
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
#- php-codesniffer
|
||||||
|
#- phpmd
|
||||||
|
#- shellcheck
|
||||||
|
|
||||||
|
|
||||||
|
matrix:
|
||||||
|
allow_failures:
|
||||||
|
- php: hhvm
|
||||||
|
- php: nightly
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
|
||||||
|
# Create a build directory for output
|
||||||
|
# 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
|
||||||
|
#- 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
|
||||||
|
#- make phpunit
|
||||||
- phpunit
|
- phpunit
|
||||||
|
#- make phpcs
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
irc: "irc.freenode.org#dbwebb"
|
irc: "irc.freenode.org#dbwebb"
|
||||||
|
|
||||||
webhooks:
|
webhooks:
|
||||||
urls:
|
urls:
|
||||||
- https://webhooks.gitter.im/e/cce29c69604daa8a60ab
|
- https://webhooks.gitter.im/e/a89832db4f939e85ba97
|
||||||
on_success: change # options: [always|never|change] default: always
|
on_success: change # options: [always|never|change] default: always
|
||||||
on_failure: always # options: [always|never|change] default: always
|
on_failure: always # options: [always|never|change] default: always
|
||||||
on_start: never # options: [always|never|change] default: always
|
on_start: never # options: [always|never|change] default: always
|
||||||
|
Reference in New Issue
Block a user