Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 52 lines (44 sloc) 1.231 kB
3a63e44 @toopay Automated testing via Travis
toopay authored
1 language: php
2
a963fbf @timw4mail Make travis test on multiple php versions
timw4mail authored
3 php:
d24652d @dbernar1 Added support for running unit tests on PHP 5.2
dbernar1 authored
4 - 5.2
6e3d68e @narfbg Travis-CI doesn't have PHP 5.3.0 ...
narfbg authored
5 - 5.3.3
3a63e44 @toopay Automated testing via Travis
toopay authored
6 - 5.4
bf09baf @sv3tli0 add travis php 5.5
sv3tli0 authored
7 - 5.5
d56ecf5 @narfbg Add PHP 5.6 (currently alpha) to .travis.yml
narfbg authored
8 - 5.6
7127f97 @narfbg Add PHP7 to automated builds
narfbg authored
9 - 7
c75cb69 @fredemmott Enable HHVM on travis-ci
fredemmott authored
10 - hhvm
88e3857 @alexbilbie Updated .travis.yml with new services param
alexbilbie authored
11
a8a2e33 @toopay Travis setup and minor cleanup
toopay authored
12 env:
13 - DB=mysql
79980e4 @narfbg MySQLi tests
narfbg authored
14 - DB=mysqli
a8a2e33 @toopay Travis setup and minor cleanup
toopay authored
15 - DB=pgsql
16 - DB=sqlite
6a96bf7 @toopay Include PDO code coverage, remove unnecessary line on phpunit xml
toopay authored
17 - DB=pdo/mysql
18 - DB=pdo/pgsql
19 - DB=pdo/sqlite
a8a2e33 @toopay Travis setup and minor cleanup
toopay authored
20
d6e15fe @joshk Use the new build env on Travis
joshk authored
21 sudo: false
22
3a63e44 @toopay Automated testing via Travis
toopay authored
23 before_script:
d24652d @dbernar1 Added support for running unit tests on PHP 5.2
dbernar1 authored
24 - sh -c "if [ '$TRAVIS_PHP_VERSION' = '5.2' ]; then pear channel-discover pear.bovigo.org && pear install bovigo/vfsStream-beta; else composer install --dev --no-progress; fi"
44015c8 @toopay Set up PDO constant and configuration
toopay authored
25 - sh -c "if [ '$DB' = 'pgsql' ] || [ '$DB' = 'pdo/pgsql' ]; then psql -c 'DROP DATABASE IF EXISTS ci_test;' -U postgres; fi"
26 - sh -c "if [ '$DB' = 'pgsql' ] || [ '$DB' = 'pdo/pgsql' ]; then psql -c 'create database ci_test;' -U postgres; fi"
b8c4e48 @narfbg create database for mysqli tests
narfbg authored
27 - sh -c "if [ '$DB' = 'mysql' ] || [ '$DB' = 'mysqli' ] || [ '$DB' = 'pdo/mysql' ]; then mysql -e 'create database IF NOT EXISTS ci_test;'; fi"
3a63e44 @toopay Automated testing via Travis
toopay authored
28
2a86f07 @narfbg The HHVM build on Travis-CI seems to be misconfigured ...
narfbg authored
29 script: phpunit -d zend.enable_gc=0 -d date.timezone=UTC --coverage-text --configuration tests/travis/$DB.phpunit.xml
15a29e1 @philsturgeon Merged unit test progress.
philsturgeon authored
30
2e8ee6e @fredemmott Dont break the build if tests only fail on HHVM
fredemmott authored
31 matrix:
32 allow_failures:
ea5f2ba @narfbg Allow failures for 5.2 on Travis until we figure it out
narfbg authored
33 - php: 5.2
2e8ee6e @fredemmott Dont break the build if tests only fail on HHVM
fredemmott authored
34 - php: hhvm
7127f97 @narfbg Add PHP7 to automated builds
narfbg authored
35 - php: 7
8e93b79 @fredemmott Disable HHVM mysqli and pgsql tests
fredemmott authored
36 exclude:
37 - php: hhvm
38 env: DB=pgsql
048a388 @narfbg Try to fix Travis not excluding pgsql,mysqli for HHVM
narfbg authored
39 - php: hhvm
8e93b79 @fredemmott Disable HHVM mysqli and pgsql tests
fredemmott authored
40 env: DB=pdo/pgsql
7127f97 @narfbg Add PHP7 to automated builds
narfbg authored
41 - php: 7
b5925ec @narfbg Fix .travis.yml for PHP7 and try to fix a DB test
narfbg authored
42 env: DB=mysql
d24652d @dbernar1 Added support for running unit tests on PHP 5.2
dbernar1 authored
43 - php: 5.2
44 env: DB=sqlite
45 - php: 5.2
46 env: DB=pdo/sqlite
2e8ee6e @fredemmott Dont break the build if tests only fail on HHVM
fredemmott authored
47
0219750 @toopay Travis setup
toopay authored
48 branches:
15a29e1 @philsturgeon Merged unit test progress.
philsturgeon authored
49 only:
fa4af2c @narfbg Enable travis for feature/* branches
narfbg authored
50 - develop
d6e15fe @joshk Use the new build env on Travis
joshk authored
51 - /^feature\/.+$/
Something went wrong with that request. Please try again.