|
4 | 4 | - 5.4 |
5 | 5 | - 5.5 |
6 | 6 | - 5.6 |
7 | | - - 7.0 |
8 | | - - nightly |
| 7 | + - hhvm |
9 | 8 |
|
10 | 9 | env: |
11 | | - - DB=agnostic #only database agnostic tests |
12 | | - - DB=mysql |
| 10 | + - DB=agnostic #only database agnostic tests |
| 11 | + - DB=mysql DB_USER=root #only database tests against mysql |
| 12 | + - DB=pgsql DB_USER=postgres DB_NAME=postgres #only database tests against postgresql |
13 | 13 | - DB=sqlite |
14 | 14 |
|
15 | | -before_install: |
16 | | - - travis_retry composer self-update |
17 | | - |
18 | | -install: |
19 | | - - travis_retry composer install --prefer-dist --no-interaction |
20 | | - |
21 | 15 | before_script: |
22 | | - - if [[ $DB != 'agnostic' && $DB != 'sqlite' ]]; then ./tests/bin/setup.$DB.sh; fi |
| 16 | + # Composer |
| 17 | + - wget http://getcomposer.org/composer.phar |
| 18 | + - php composer.phar install --prefer-dist |
| 19 | + |
| 20 | + - if [ "$DB" != 'agnostic' ]; then ./tests/bin/setup.$DB.sh; fi # setup only for integration tests |
23 | 21 |
|
24 | 22 | script: |
25 | | - - ./vendor/bin/phpunit -v -c tests/$DB.phpunit.xml; |
| 23 | + - ./tests/bin/phpunit.$DB.sh; |
26 | 24 |
|
27 | 25 |
|
28 | 26 | matrix: |
29 | | - include: |
30 | | - - php: 5.4 |
31 | | - env: DB=mysql MARIADB=5.5 |
32 | | - addons: |
33 | | - mariadb: 5.5 |
34 | | - - php: 5.5 |
35 | | - env: DB=mysql MARIADB=5.5 |
36 | | - addons: |
37 | | - mariadb: 5.5 |
38 | | - - php: 5.6 |
39 | | - env: DB=mysql MARIADB=5.5 |
40 | | - addons: |
41 | | - mariadb: 5.5 |
42 | | - - php: 7.0 |
43 | | - env: DB=mysql MARIADB=5.5 |
44 | | - addons: |
45 | | - mariadb: 5.5 |
46 | | - |
47 | | - - php: 5.4 |
48 | | - env: DB=mysql MARIADB=10.0 |
49 | | - addons: |
50 | | - mariadb: 10.0 |
51 | | - - php: 5.5 |
52 | | - env: DB=mysql MARIADB=10.0 |
53 | | - addons: |
54 | | - mariadb: 10.0 |
55 | | - - php: 5.6 |
56 | | - env: DB=mysql MARIADB=10.0 |
57 | | - addons: |
58 | | - mariadb: 10.0 |
59 | | - - php: 7.0 |
60 | | - env: DB=mysql MARIADB=10.0 |
61 | | - addons: |
62 | | - mariadb: 10.0 |
63 | | - |
64 | | - - php: 5.4 |
65 | | - env: DB=mysql MARIADB=10.1 |
66 | | - addons: |
67 | | - mariadb: 10.1 |
68 | | - - php: 5.5 |
69 | | - env: DB=mysql MARIADB=10.1 |
70 | | - addons: |
71 | | - mariadb: 10.1 |
72 | | - - php: 5.6 |
73 | | - env: DB=mysql MARIADB=10.1 |
74 | | - addons: |
75 | | - mariadb: 10.1 |
76 | | - - php: 7.0 |
77 | | - env: DB=mysql MARIADB=10.1 |
78 | | - addons: |
79 | | - mariadb: 10.1 |
80 | | - |
81 | | - - php: 5.4 |
82 | | - env: DB=pgsql POSTGRES=9.1 |
83 | | - addons: |
84 | | - postgresql: 9.1 |
85 | | - - php: 5.5 |
86 | | - env: DB=pgsql POSTGRES=9.1 |
87 | | - addons: |
88 | | - postgresql: 9.1 |
89 | | - - php: 5.6 |
90 | | - env: DB=pgsql POSTGRES=9.1 |
91 | | - addons: |
92 | | - postgresql: 9.1 |
93 | | - - php: 7.0 |
94 | | - env: DB=pgsql POSTGRES=9.1 |
95 | | - addons: |
96 | | - postgresql: 9.1 |
97 | | - |
98 | | - - php: 5.4 |
99 | | - env: DB=pgsql POSTGRES=9.2 |
100 | | - addons: |
101 | | - postgresql: 9.2 |
102 | | - - php: 5.5 |
103 | | - env: DB=pgsql POSTGRES=9.2 |
104 | | - addons: |
105 | | - postgresql: 9.2 |
106 | | - - php: 5.6 |
107 | | - env: DB=pgsql POSTGRES=9.2 |
108 | | - addons: |
109 | | - postgresql: 9.2 |
110 | | - - php: 7.0 |
111 | | - env: DB=pgsql POSTGRES=9.2 |
112 | | - addons: |
113 | | - postgresql: 9.2 |
114 | | - |
115 | | - - php: 5.4 |
116 | | - env: DB=pgsql POSTGRES=9.3 |
117 | | - addons: |
118 | | - postgresql: 9.3 |
119 | | - - php: 5.5 |
120 | | - env: DB=pgsql POSTGRES=9.3 |
121 | | - addons: |
122 | | - postgresql: 9.3 |
123 | | - - php: 5.6 |
124 | | - env: DB=pgsql POSTGRES=9.3 |
125 | | - addons: |
126 | | - postgresql: 9.3 |
127 | | - - php: 7.0 |
128 | | - env: DB=pgsql POSTGRES=9.3 |
129 | | - addons: |
130 | | - postgresql: 9.3 |
131 | | - |
132 | | - - php: 5.4 |
133 | | - env: DB=pgsql POSTGRES=9.4 |
134 | | - addons: |
135 | | - postgresql: 9.4 |
136 | | - - php: 5.5 |
137 | | - env: DB=pgsql POSTGRES=9.4 |
138 | | - addons: |
139 | | - postgresql: 9.4 |
140 | | - - php: 5.6 |
141 | | - env: DB=pgsql POSTGRES=9.4 |
142 | | - addons: |
143 | | - postgresql: 9.4 |
144 | | - - php: 7.0 |
145 | | - env: DB=pgsql POSTGRES=9.4 |
146 | | - addons: |
147 | | - postgresql: 9.4 |
148 | | - |
149 | | - allow_failures: |
150 | | - - php: nightly |
151 | | - |
152 | 27 | fast_finish: true |
153 | | - |
154 | | -# cache vendors |
155 | | -cache: |
156 | | - directories: |
157 | | - - vendor |
158 | | - - $HOME/.composer/cache |
159 | | - |
160 | | -# This triggers builds to run on the new TravisCI infrastructure. |
161 | | -# See: http://docs.travis-ci.com/user/workers/container-based-infrastructure/ |
162 | | -sudo: false |
163 | | - |
164 | | -notifications: |
165 | | - webhooks: |
166 | | - - http://propel.jarves.io/build.php |
167 | | - - https://webhooks.gitter.im/e/206efe76e183f9ade489 |
| 28 | + allow_failures: |
| 29 | + - php: hhvm |
| 30 | + - php: 5.6 |
| 31 | + exclude: |
| 32 | + - php: hhvm |
| 33 | + env: DB=pgsql DB_USER=postgres DB_NAME=postgres # driver currently unsupported by HHVM |
| 34 | + - php: hhvm |
| 35 | + env: DB=sqlite # some issues at the moment |
| 36 | + |
| 37 | +#after_script: |
| 38 | +# - php vendor/bin/coveralls -v |
0 commit comments