Skip to content
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": "jordan@hall05.co.uk"
}
],
"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