Skip to content

Commit

Permalink
Merge d8737f2 into 352dd38
Browse files Browse the repository at this point in the history
  • Loading branch information
peter279k committed Mar 23, 2020
2 parents 352dd38 + d8737f2 commit 5babac8
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 12 deletions.
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

0 comments on commit 5babac8

Please sign in to comment.