Skip to content

Commit

Permalink
Load test namespace only in dev environments
Browse files Browse the repository at this point in the history
  • Loading branch information
Taluu committed Dec 25, 2015
1 parent 399276a commit a2afd1d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ php:
sudo: false

install:
- travis_retry composer install --prefer-source --no-dev --no-interaction
- travis_retry composer install --prefer-source --no-interaction

script:
- phpunit --coverage-text --coverage-clover clover.xml
Expand Down
8 changes: 7 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,13 @@

"autoload": {
"psr-4": {
"Totem\\": ["src/", "test/"]
"Totem\\": ["src/"]
}
},

"autoload-dev": {
"psr-4": {
"Totem\\": ["test/"]
}
},

Expand Down

0 comments on commit a2afd1d

Please sign in to comment.