@@ -6,7 +6,7 @@ references:
6
6
steps :
7
7
- checkout
8
8
- run : apt-get -yqq update
9
- - run : apt-get -yqq install git unzip zip libpq-dev default-mysql-client libpng-dev
9
+ - run : apt-get -yqq install git unzip zip libpq-dev default-mysql-client libpng-dev postgresql
10
10
- run : docker-php-ext-install pdo_pgsql pdo_mysql gd
11
11
- run : curl -sS https://getcomposer.org/installer | php
12
12
- run : chmod +x composer.phar
@@ -19,6 +19,7 @@ references:
19
19
- run : mysql --host=mysql -e "grant all privileges on *.* to 'testing'@'%' with grant option;"
20
20
- run : mysql --host=mariadb2 -e "grant all privileges on *.* to 'testing'@'%' with grant option;"
21
21
- run : mysql --host=mysql2 -e "grant all privileges on *.* to 'testing'@'%' with grant option;"
22
+ - run : PGPASSWORD=testing psql --host=pgsql --user=testing -c "GRANT ALL ON SCHEMA public TO testing;"
22
23
- run : |
23
24
if [[ "${CIRCLE_JOB}" == *-nginx ]]; then
24
25
apt-get -yqq install nginx
@@ -54,14 +55,14 @@ references:
54
55
name : mariadb2
55
56
environment : *mysql_environment
56
57
pgsql : &pgsql
57
- image : postgres:latest
58
+ image : postgres:14
58
59
name : pgsql
59
60
environment :
60
61
- POSTGRES_DB : testing
61
62
- POSTGRES_USER : testing
62
63
- POSTGRES_PASSWORD : testing
63
64
pgsql2 : &pgsql2
64
- image : postgres:latest
65
+ image : postgres:14
65
66
name : pgsql2
66
67
environment :
67
68
- POSTGRES_DB : testing
@@ -74,9 +75,20 @@ references:
74
75
- APP_KEY : deela5kinohw0haekoothahSh8eexach
75
76
76
77
jobs :
77
- " php-8.0-apache " :
78
+ " php-8.1-apache " :
79
+ docker :
80
+ - image : php:8.1-apache
81
+ environment : *environment
82
+ - *mysql
83
+ - *mariadb
84
+ - *pgsql
85
+ - *mysql2
86
+ - *mariadb2
87
+ - *pgsql2
88
+ << : *steps
89
+ " php-8.1-nginx " :
78
90
docker :
79
- - image : php:8.0-apache
91
+ - image : php:8.1-fpm
80
92
environment : *environment
81
93
- *mysql
82
94
- *mariadb
85
97
- *mariadb2
86
98
- *pgsql2
87
99
<< : *steps
88
- " php-8.0-nginx " :
100
+ " php-8.2-apache " :
89
101
docker :
90
- - image : php:8.0-fpm
102
+ - image : php:8.2-apache
103
+ environment : *environment
104
+ - *mysql
105
+ - *mariadb
106
+ - *pgsql
107
+ - *mysql2
108
+ - *mariadb2
109
+ - *pgsql2
110
+ << : *steps
111
+ " php-8.2-nginx " :
112
+ docker :
113
+ - image : php:8.2-fpm
91
114
environment : *environment
92
115
- *mysql
93
116
- *mariadb
98
121
<< : *steps
99
122
coverage :
100
123
docker :
101
- - image : php:8.0 -fpm
124
+ - image : php:8.1 -fpm
102
125
environment : *environment
103
126
- *mariadb
104
127
- *mariadb2
@@ -127,12 +150,20 @@ workflows:
127
150
version : 2
128
151
test :
129
152
jobs :
130
- - " php-8.0-apache"
131
- - " php-8.0-nginx"
153
+ - " php-8.1-apache"
154
+ - " php-8.1-nginx " :
155
+ requires :
156
+ - " php-8.1-apache"
157
+ - " php-8.2-apache " :
158
+ requires :
159
+ - " php-8.1-nginx"
160
+ - " php-8.2-nginx " :
161
+ requires :
162
+ - " php-8.2-apache"
132
163
- coverage :
133
164
filters :
134
165
branches :
135
166
only : /^([0-9]+)\.x$/
136
167
requires :
137
- - " php-8.0 -apache"
138
- - " php-8.0 -nginx"
168
+ - " php-8.1 -apache"
169
+ - " php-8.1 -nginx"
0 commit comments