This repository has been archived by the owner on Mar 19, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- test folder restructured - removes old phpunit tests - adds a basic selenium test - some travis adjustments
- Loading branch information
1 parent
00a92bf
commit 32af93e
Showing
27 changed files
with
247 additions
and
1,725 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,8 @@ | ||
language: php | ||
|
||
php: | ||
- 5.3 | ||
- 5.4 | ||
- 5.5 | ||
- hhvm | ||
|
||
env: | ||
- DB=postgres | ||
|
||
before_install: | ||
- composer self-update | ||
- composer install --prefer-source --no-interaction --dev | ||
|
||
before_script: | ||
- psql -c 'create database bareos;' -U postgres | ||
- psql bareos < tests/travis/pgsql/make_tables.sql -U postgres | ||
- psql bareos < tests/travis/pgsql/grant_privileges.sql -U postgres | ||
- tests/travis/config_db.sh | ||
|
||
branches: | ||
only: | ||
- master | ||
|
||
script: | ||
|
||
after_script: | ||
|
||
matrix: | ||
allow_failures: | ||
- php: hhvm | ||
fast_finish: true | ||
|
||
notifications: | ||
email: false | ||
- '5.3' | ||
- '5.4' | ||
- '5.5' | ||
- '5.6' | ||
- '7.0' | ||
- nightly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<phpunit bootstrap="tests/Bootstrap.php" colors="true"> | ||
<testsuites> | ||
<testsuite name="bareos-webui"> | ||
<directory>./tests/JobTest</directory> | ||
<directory>./tests/DashboardTest</directory> | ||
<directory>./tests/DirectorTest</directory> | ||
<directory>./tests/ClientTest</directory> | ||
<directory>./tests/PoolTest</directory> | ||
<directory>./tests/MediaTest</directory> | ||
<directory>./tests/StorageTest</directory> | ||
<directory>./tests/RestoreTest</directory> | ||
</testsuite> | ||
</testsuites> | ||
<phpunit | ||
bootstrap="tests/phpunit/Bootstrap.php" | ||
convertErrorsToExceptions="true" | ||
convertNoticesToExceptions="true" | ||
convertWarningsToExceptions="true" | ||
colors="true"> | ||
|
||
<testsuites> | ||
<testsuite name="bareos-webui"> | ||
</testsuite> | ||
</testsuites> | ||
|
||
</phpunit> | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.