The following files exists in this folder. Click to view.
.travis.yml1 lines ASCII Unix (LF) language: php
php:
- 5.4
- 5.5
- 5.6
#- hhvm
- nightly
- "7.0"
sudo: false
git:
submodules: false
addons:
apt:
packages:
#- php-codesniffer
#- phpmd
#- shellcheck
matrix:
allow_failures:
- php: nightly
before_script:
# Store all files in your own bin
- mkdir bin
- export PATH=$PATH:$PWD = "Intentionally removed by CSource";
# 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 = "Intentionally removed by CSource";
# Install phpmd
- wget --no-check-certificate -c http://static.phpmd.org/php/latest/phpmd.phar
- install --mode 0755 phpmd.phar $PWD = "Intentionally removed by CSource";
# Download dbwebb-validate
#- wget -O dbwebb-validate https://raw.githubusercontent.com/mosbth/dbwebb-cli/master/dbwebb2-validate
#- install --mode 0755 dbwebb-validate $PWD = "Intentionally removed by CSource";
# Create a build directory for output
#- mkdir build
# Download parts from composer
#- composer update
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
#- dbwebb-validate --version
#- dbwebb-validate --check
#- dbwebb-validate --publish --publish-to build/ example/
# Run validation & publish
#- make phpunit
#- make phpcs
- composer validate
- make test
notifications:
irc: "irc.freenode.org#dbwebb"
urls:
- https://webhooks.gitter.im/e/5e90b261606fcf14eafd
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always