Skip to content

Commit

Permalink
Added autoload dev for tests (#253)
Browse files Browse the repository at this point in the history
* Added autoload dev for tests

* Do not use phpunit-bridge

* Run tests with php 6.3 on php7
  • Loading branch information
Nyholm authored Feb 3, 2018
1 parent 9808120 commit bd3299b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ php:
- 5.4
- 5.5
# - 5.6
- 7.0
- 7.1
# - 7.2

env:
Expand All @@ -30,6 +28,10 @@ matrix:
include:
- php: 5.5
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" COVERAGE=true TEST_COMMAND="composer test-ci"
- php: 7.0
env: SYMFONY_PHPUNIT_VERSION=6.3
- php: 7.1
env: SYMFONY_PHPUNIT_VERSION=6.3

before_install:
- echo "" | sudo add-apt-repository ppa:nginx/stable > /dev/null 2>&1
Expand Down
5 changes: 5 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@
"Buzz\\": "lib/Buzz"
}
},
"autoload-dev": {
"psr-4": {
"Buzz\\Test\\": "test/Buzz/Test"
}
},
"scripts": {
"test": "vendor/bin/simple-phpunit",
"test-ci": "vendor/bin/simple-phpunit --coverage-text --coverage-clover=build/coverage.xml"
Expand Down

0 comments on commit bd3299b

Please sign in to comment.