mirror of
https://github.com/joomla-extensions/weblinks.git
synced 2025-01-13 16:12:57 +00:00
Running phpcs check with travis on php 5.6
This commit is contained in:
parent
0af518e0f3
commit
d353ec9833
27
.travis.yml
27
.travis.yml
@ -1,13 +1,23 @@
|
|||||||
language: php
|
language: php
|
||||||
php:
|
|
||||||
- 5.5
|
env:
|
||||||
- 5.6
|
global:
|
||||||
- 7.0
|
- RUN_PHPCS="no"
|
||||||
addons:
|
|
||||||
firefox: "46.0.1"
|
|
||||||
matrix:
|
matrix:
|
||||||
allow_failures:
|
fast_finish: true
|
||||||
|
include:
|
||||||
|
- php: 5.5
|
||||||
|
- php: 5.6
|
||||||
|
env: RUN_PHPCS="yes"
|
||||||
|
- php: 7.0
|
||||||
|
sudo: true
|
||||||
|
addons:
|
||||||
|
firefox: "46.0.1"
|
||||||
|
allow_failures:
|
||||||
- php: 7.0
|
- php: 7.0
|
||||||
|
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- sudo apt-get update -qq
|
- sudo apt-get update -qq
|
||||||
- sudo apt-get install -y --force-yes apache2 libapache2-mod-fastcgi php5-curl php5-mysql php5-intl php5-gd > /dev/null
|
- sudo apt-get install -y --force-yes apache2 libapache2-mod-fastcgi php5-curl php5-mysql php5-intl php5-gd > /dev/null
|
||||||
@ -42,5 +52,8 @@ script:
|
|||||||
# Build
|
# Build
|
||||||
- mv jorobo.dist.ini jorobo.ini
|
- mv jorobo.dist.ini jorobo.ini
|
||||||
- vendor/bin/robo build
|
- vendor/bin/robo build
|
||||||
|
# System tests (Codeception)
|
||||||
- mv tests/acceptance.suite.dist.yml tests/acceptance.suite.yml
|
- mv tests/acceptance.suite.dist.yml tests/acceptance.suite.yml
|
||||||
- vendor/bin/robo run:tests --use-htaccess
|
- vendor/bin/robo run:tests --use-htaccess
|
||||||
|
# Run phpcs on PHP 5.6 against weblinks source
|
||||||
|
- if [[ $RUN_PHPCS == "yes" ]]; then vendor/bin/phpcs --report=full --extensions=php -p --standard=tests/joomla-cms3/build/phpcs/Joomla ./src; fi
|
||||||
|
Loading…
Reference in New Issue
Block a user