Skip to content

Commit eafe528

Browse files
committed
Start using common test-framework
1 parent cdd4cc3 commit eafe528

3 files changed

Lines changed: 3 additions & 20 deletions

File tree

.travis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,9 @@ env:
1515
before_script:
1616
- composer require "simplesamlphp/simplesamlphp:${SIMPLESAMLPHP_VERSION}" --no-update
1717
- composer update --no-interaction
18-
- if [[ "$TRAVIS_PHP_VERSION" == "5.6" ]]; then composer require --dev php-coveralls/php-coveralls; fi
19-
- if [[ "$TRAVIS_PHP_VERSION" == "7.3" ]]; then composer require --dev vimeo/psalm:1.1.9; fi
2018

2119
script:
22-
- bin/check-syntax.sh
20+
- vendor/simplesamlphp/simplesamlphp-test-framework/bin/check-syntax-php.sh
2321
- if [[ "$TRAVIS_PHP_VERSION" == "5.6" ]]; then php vendor/phpunit/phpunit/phpunit; else php vendor/phpunit/phpunit/phpunit --no-coverage; fi
2422
- if [[ "$TRAVIS_PHP_VERSION" == "7.3" ]]; then vendor/bin/psalm; fi
2523

bin/check-syntax.sh

Lines changed: 0 additions & 15 deletions
This file was deleted.

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"authors": [
88
{
99
"name": "Guy Halse",
10-
"homepage": "http://orcid.org/0000-0002-9388-8592"
10+
"homepage": "http://orcid.org/0000-0002-9388-8592"
1111
}
1212
],
1313
"replaces": {
@@ -25,7 +25,7 @@
2525
},
2626
"require-dev": {
2727
"simplesamlphp/simplesamlphp": ">=1.17",
28-
"phpunit/phpunit": "~5.7"
28+
"simplesamlphp/simplesamlphp-test-framework": "~0.0.6"
2929
},
3030
"autoload": {
3131
"psr-4": {

0 commit comments

Comments
 (0)