Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

Commit

Permalink
Merge pull request #30 from trogon/develop
Browse files Browse the repository at this point in the history
Release 0.4.0
  • Loading branch information
mklemarczyk authored Aug 6, 2019
2 parents 1b86dbf + e20ea05 commit 1b5564a
Show file tree
Hide file tree
Showing 177 changed files with 5,085 additions and 594 deletions.
13 changes: 6 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@ language: php
dist: trusty

php:
- '5.4'
- '5.5'
- '5.6'
- '7.0'
- '7.1'
- '7.2'
- '7.3'
- '7.2'
- '7.1'
- '7.0'
- '5.6'
- '5.5'

cache:
directories:
Expand All @@ -19,7 +18,7 @@ install:
- composer install

script:
- vendor/bin/phpunit --verbose
- vendor/bin/codecept run --verbose --coverage --coverage-xml --coverage-html

after_success:
- bash <(curl -s https://codecov.io/bash)
Expand Down
25 changes: 24 additions & 1 deletion .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,17 @@
"command": "composer install",
"problemMatcher": []
},
{
"label": "Install fonts data",
"type": "shell",
"command": "composer run-script install-fonts",
"problemMatcher": []
},
{
"label": "Run Unit Tests",
"type": "shell",
"command": "vendor/bin/phpunit",
"command": "vendor/bin/codecept",
"args": [ "run" ],
"presentation": {
"echo": true,
"reveal": "always",
Expand All @@ -27,6 +34,22 @@
"isDefault": true
}
},
{
"label": "Run Unit Tests with Coverage",
"type": "shell",
"command": "vendor/bin/codecept",
"args": [ "run", "--coverage-html" ],
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "shared",
"showReuseMessage": true,
"clear": true
},
"problemMatcher": [],
"group": "build"
},
{
"label": "Install Docs",
"type": "shell",
Expand Down
14 changes: 14 additions & 0 deletions codeception.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
paths:
tests: tests
output: tests/_output
data: tests/_data
support: tests/_support
envs: tests/_envs
actor_suffix: Tester
coverage:
enabled: true
include:
- src/*
extensions:
enabled:
- Codeception\Extension\RunFailed
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@
}
],
"require": {
"php": "^7.3 || ^7.2 || ^7.1 || ^7.0 || ^5.6 || ^5.5 || ^5.4",
"php": "^7.3 || ^7.2 || ^7.1 || ^7.0 || ^5.6 || ^5.5",
"phenx/php-font-lib": "^0.5.1",
"trogon/adobe-fonts-core14": "^1.0"
},
"require-dev": {
"phpunit/phpunit": "^7.0 || ^6.0 || ^5.0 || ^4.0"
"codeception/codeception": "^2.4"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit 1b5564a

Please sign in to comment.