Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Commit

Permalink
[WIP] Reorganizing items
Browse files Browse the repository at this point in the history
  • Loading branch information
filipsedivy committed Jan 8, 2020
1 parent bff8eb8 commit 65d991c
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions .travis.yml
@@ -1,18 +1,13 @@
env:
- PHP_BIN=php
- PHP_BIN=php-cgi

language: php
php:
- 7.1
- 7.2
- 7.3
- 7.4

sudo: false
cache:
directories:
- "$HOME/.composer/cache"
env:
- PHP_BIN=php
- PHP_BIN=php-cgi

before_script:
- phpenv config-rm xdebug.ini || return 0
Expand All @@ -31,18 +26,22 @@ jobs:
include:
- name: Lowest Dependencies
env: PHP_BIN=php
php: 7.2
install:
- travis_retry composer update --no-progress --prefer-dist --prefer-lowest --prefer-stable

- stage: Code Sniffer
php: 7.3
script:
- vendor/bin/phpcs --standard=phpcs.xml --encoding=utf-8 -sp src/ tests/

- stage: Static Analysis
php: 7.3
script:
- vendor/bin/phpstan analyse -c phpstan.neon -l 7 src/

- stage: Code Coverage
php: 7.3
script:
- vendor/bin/tester -p phpdbg tests -s --coverage ./coverage.xml --coverage-src ./src
after_script:
Expand All @@ -54,5 +53,11 @@ jobs:
- stage: Code Coverage
- php: 7.4

sudo: false

cache:
directories:
- "$HOME/.composer/cache"

notifications:
email: false

0 comments on commit 65d991c

Please sign in to comment.