Skip to content

Commit

Permalink
Add Travis configuration and .gitignore files.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Oct 6, 2017
1 parent 9d2651a commit 4d1f5ec
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .gitignore
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

31 changes: 31 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
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:
- mysql
- postgresql
before_install:
- mysql -e "create database IF NOT EXISTS test;" -uroot
- psql -c "create database test;" -U postgres
before_script:
- export DB_ADAPTER_MYSQL_TEST_CONFIG='{"db":{"adapter":{"mysql":{"test":{"host":"localhost","username":"root","password":"","dbname":"test"}}}}}';
export DB_ADAPTER_MYSQLI_TEST_CONFIG='{"db":{"adapter":{"mysqli":{"test":{"host":"localhost","username":"root","password":"","dbname":"test"}}}}}';
export DB_ADAPTER_PDO_MYSQL_TEST_CONFIG='{"db":{"adapter":{"pdo":{"mysql":{"test":{"host":"localhost","username":"root","password":"","dbname":"test"}}}}}}';
export DB_ADAPTER_PDO_PGSQL_TEST_CONFIG='{"db":{"adapter":{"pdo":{"pgsql":{"test":{"username":"postgres","password":"","dbname":"test"}}}}}}';
- 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)

0 comments on commit 4d1f5ec

Please sign in to comment.