Skip to content

Commit 3fcc8bf

Browse files
Develop (#45)
* improved exception message when no binary file is found * no longer uses the `Folder` class * updated * fixed * Develop dependencies (#42) added tests for lower dependencies * updated * come back * fixed * fixed * updated * little fixes for `BackupManager` and `BackupExport` classes * test * fixed typo * little fixes * fixed * updated * fixed * added badge * some fixes * uses `Filesystem` class * come back * fixed * fixed tests
1 parent a5cfb76 commit 3fcc8bf

File tree

4 files changed

+4
-21
lines changed

4 files changed

+4
-21
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ before_script:
4444
- psql -c 'create database travis_ci_test;' -U postgres
4545

4646
script:
47-
- if [[ $PHPCS != '1' && $COVERAGE != '1' ]]; then vendor/bin/phpunit --exclude-group=onlyWindows; fi
47+
- if [[ $PHPCS != '1' && $COVERAGE != '1' ]]; then vendor/bin/phpunit; fi
4848
- if [[ $PHPCS = 1 ]]; then vendor/bin/phpcs --standard=phpcs.xml.dist; fi
49-
- if [[ $COVERAGE = 1 ]]; then vendor/bin/phpunit --exclude-group=onlyWindows --coverage-clover=clover.xml; fi
49+
- if [[ $COVERAGE = 1 ]]; then vendor/bin/phpunit --coverage-clover=clover.xml; fi
5050

5151
after_success:
5252
- if [[ $COVERAGE = 1 ]]; then bash <(curl -s https://codecov.io/bash); fi

README.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -83,23 +83,6 @@ See our wiki:
8383

8484
And refer to our [API](//mirko-pagliai.github.io/cakephp-database-backup).
8585

86-
## Tests
87-
Tests are divided into two groups, `onlyUnix` and `onlyWindows`. This is
88-
necessary because some commands to be executed in the terminal are only valid
89-
for an environment.
90-
91-
By default, phpunit is executed like this:
92-
93-
```bash
94-
vendor/bin/phpunit --exclude-group=onlyWindows
95-
```
96-
97-
On Windows, it must be done this way:
98-
99-
```bash
100-
vendor\bin\phpunit.bat --exclude-group=onlyUnix
101-
```
102-
10386
## Versioning
10487
For transparency and insight into our release cycle and to maintain backward
10588
compatibility, *DatabaseBackup* will be maintained under the

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@ install:
5050

5151
test_script:
5252
- cd C:\projects\cakephp-database-backup
53-
- vendor\bin\phpunit.bat --exclude-group=onlyUnix
53+
- vendor\bin\phpunit.bat

tests/TestCase/Utility/BackupExportTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ public function testExport()
217217

218218
/**
219219
* Test for `export()` method, with a different chmod
220-
* @group onlyUnix
220+
* @requires OS Linux
221221
* @test
222222
*/
223223
public function testExportWithDifferendChmod()

0 commit comments

Comments
 (0)