Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test enhancement #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/vendor/
composer.lock
/bin/*
!/bin/.gitkeep
!/bin/.gitkeep
*.cache
16 changes: 8 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
language: php
dist: trusty
php:
- '5.6'
- '7.0'
- '7.1'
- '7.2'
- 'hhvm'
os:
- linux
- '7.3'
- '7.4'
- 'nightly'
matrix:
allow_failures:
- php: nightly
install:
- composer update
- composer install
script:
- ./vendor/bin/phpunit --coverage-clover ./tests/Logs/clover.xml
after_script:
- php vendor/bin/php-coveralls -v
- php vendor/bin/php-coveralls -v
13 changes: 10 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,23 @@
"email": "[email protected]"
}
],
"require": {},
"require": {
"php": ">=7.1"
},
"require-dev": {
"phpunit/phpunit": "^5.7",
"satooshi/php-coveralls": "^2.0"
"phpunit/phpunit": "^7.0 || ^8.0",
"php-coveralls/php-coveralls": "^2.0"
},
"autoload": {
"psr-4": {
"DivineOmega\\HCLParser\\": "./src/"
}
},
"autoload-dev": {
"psr-4": {
"DivineOmega\\HCLParser\\HCLParser\\Tests\\": "./tests/Unit/"
}
},
"scripts": {
"post-autoload-dump": [
"DivineOmega\\HCLParser\\Installer::installBinaries"
Expand Down
2 changes: 2 additions & 0 deletions tests/Unit/BasicUsageTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

namespace DivineOmega\HCLParser\HCLParser\Tests;

use DivineOmega\HCLParser\HCLParser;
use PHPUnit\Framework\TestCase;

Expand Down
2 changes: 2 additions & 0 deletions tests/Unit/InstallerTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

namespace DivineOmega\HCLParser\HCLParser\Tests;

use DivineOmega\HCLParser\Installer;
use PHPUnit\Framework\TestCase;

Expand Down