Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Travis configuration and .gitignore files.
- Loading branch information
Showing
4 changed files
with
74 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
.DS_Store | ||
.buildpath | ||
.cache | ||
.project | ||
.settings | ||
nbproject/ | ||
*~ | ||
.#* | ||
*.bak | ||
*.orig | ||
*.rej | ||
*.swp | ||
*.kdev4 | ||
.kdev4/* | ||
|
||
# Ignore ALL config files | ||
conf.php | ||
|
||
# Ignore testing files | ||
run-tests.log | ||
/test/*/*/*.diff | ||
/test/*/*/*.exp | ||
/test/*/*/*.log | ||
/test/*/*/*.out | ||
/test/*/*/*/*.diff | ||
/test/*/*/*/*.exp | ||
/test/*/*/*/*.log | ||
/test/*/*/*/*.out | ||
|
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
extension = memcache.so | ||
extension = mongo.so |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
extension = memcached.so | ||
extension = mongodb.so |
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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
sudo: false | ||
notifications: | ||
irc: "chat.freenode.net#horde" | ||
language: php | ||
php: | ||
- 5.4 | ||
- 5.5 | ||
- 5.6 | ||
- 7.0 | ||
- 7.1 | ||
- nightly | ||
matrix: | ||
fast_finish: true | ||
allow_failures: | ||
- php: nightly | ||
services: | ||
- memcached | ||
- mongodb | ||
- mysql | ||
- postgresql | ||
before_install: | ||
- mysql -e "create database IF NOT EXISTS test;" -uroot | ||
- psql -c "create database test;" -U postgres | ||
before_script: | ||
- export SESSIONHANDLER_MEMCACHE_TEST_CONFIG='{"sessionhandler":{"memcache":{"hostspec":["localhost"],"port":[11211]}}}'; | ||
export SESSIONHANDLER_MONGO_TEST_CONFIG='{"sessionhandler":{"mongo":"mongodb://localhost"}}'; | ||
export SESSIONHANDLER_SQL_MYSQL_TEST_CONFIG='{"sessionhandler":{"sql":{"mysql":{"adapter":"mysql","host":"localhost","username":"root","password":"","dbname":"test","charset":"utf-8"}}}}'; | ||
export SESSIONHANDLER_SQL_MYSQLI_TEST_CONFIG='{"sessionhandler":{"sql":{"mysqli":{"adapter":"mysqli","host":"localhost","username":"root","password":"","dbname":"test","charset":"utf-8"}}}}'; | ||
export SESSIONHANDLER_SQL_PDO_MYSQL_TEST_CONFIG='{"sessionhandler":{"sql":{"pdo_mysql":{"adapter":"pdo_mysql","host":"localhost","username":"root","password":"","dbname":"test","charset":"utf-8"}}}}'; | ||
export SESSIONHANDLER_SQL_PDO_PGSQL_TEST_CONFIG='{"sessionhandler":{"sql":{"pdo_pgsql":{"adapter":"pdo_pgsql","username":"postgres","password":"","dbname":"test","charset":"utf-8"}}}}'; | ||
- if [ "$TRAVIS_PHP_VERSION" == "7.0" ] || [ $(echo "$TRAVIS_PHP_VERSION 7.0" | tr " " "\n" | sort -V | head -n1) = "7.0" ]; | ||
then | ||
phpenv config-add .travis.php7.ini; | ||
else | ||
phpenv config-add .travis.ini; | ||
fi | ||
- phpenv config-rm xdebug.ini || echo "XDebug not enabled" | ||
- pear install channel://pear.horde.org/Horde_Role | ||
- pear install package.xml | ||
script: | ||
- php $(find test -name AllTests.php) |