3 name: Check messages.po
6 - name: Run default Xgettext
7 image: friendicaci/transifex
9 - ./bin/run_xgettext.sh
12 image: friendicaci/transifex
24 - ./bin/composer.phar run lint
34 - ./bin/composer.phar run lint
44 - ./bin/composer.phar run lint
55 - name: Install dependencies
58 - ./bin/composer.phar run cs:install
59 - name: Run coding standards check
60 image: friendicaci/php-cs
62 - export CHANGED_FILES="$(git diff --name-status ${DRONE_COMMIT_BEFORE}..${DRONE_COMMIT_AFTER} | grep ^A | cut -f2)"
70 - name: Test Friendica
71 image: friendicaci/php7.3:php7.3.28
75 MYSQL_DATABASE: "test"
76 MYSQL_PASSWORD: "test"
79 MEMCACHED_HOST: "memcached"
80 MEMCACHE_HOST: "memcached"
83 - composer install --prefer-dist
84 - cp config/local-sample.config.php config/local.config.php
85 - while ! mysqladmin ping -h$MYSQL_HOST -P$MYSQL_PORT --silent; do sleep 1; done
86 - mysql -h$MYSQL_HOST -P$MYSQL_PORT -p$MYSQL_PASSWORD -u$MYSQL_USER $MYSQL_DATABASE < database.sql
87 - phpunit --configuration tests/phpunit.xml --coverage-clover clover.xml
89 image: plugins/codecov
95 from_secret: codecov-token
101 image: mariadb:latest
103 MYSQL_ALLOW_EMPTY_PASSWORD: "true"
104 MYSQL_DATABASE: "test"
105 MYSQL_PASSWORD: "test"
121 - name: Test Friendica
122 image: friendicaci/php7.4:php7.4.18
124 MYSQL_HOST: "mariadb"
126 MYSQL_DATABASE: "test"
127 MYSQL_PASSWORD: "test"
130 MEMCACHED_HOST: "memcached"
131 MEMCACHE_HOST: "memcached"
134 - composer install --prefer-dist
135 - cp config/local-sample.config.php config/local.config.php
136 - while ! mysqladmin ping -h$MYSQL_HOST -P$MYSQL_PORT --silent; do sleep 1; done
137 - mysql -h$MYSQL_HOST -P$MYSQL_PORT -p$MYSQL_PASSWORD -u$MYSQL_USER $MYSQL_DATABASE < database.sql
138 - phpunit --configuration tests/phpunit.xml --coverage-clover clover.xml
140 image: plugins/codecov
143 - friendica/friendica
146 from_secret: codecov-token
152 image: mariadb:latest
154 MYSQL_ALLOW_EMPTY_PASSWORD: "true"
155 MYSQL_DATABASE: "test"
156 MYSQL_PASSWORD: "test"
172 - name: Test Friendica
173 image: friendicaci/php8.0:php8.0.5
175 MYSQL_HOST: "mariadb"
177 MYSQL_DATABASE: "test"
178 MYSQL_PASSWORD: "test"
181 MEMCACHED_HOST: "memcached"
182 MEMCACHE_HOST: "memcached"
185 - composer install --prefer-dist
186 - cp config/local-sample.config.php config/local.config.php
187 - while ! mysqladmin ping -h$MYSQL_HOST -P$MYSQL_PORT --silent; do sleep 1; done
188 - mysql -h$MYSQL_HOST -P$MYSQL_PORT -p$MYSQL_PASSWORD -u$MYSQL_USER $MYSQL_DATABASE < database.sql
189 - phpunit --configuration tests/phpunit.xml --coverage-clover clover.xml
191 image: plugins/codecov
194 - friendica/friendica
197 from_secret: codecov-token
203 image: mariadb:latest
205 MYSQL_ALLOW_EMPTY_PASSWORD: "true"
206 MYSQL_DATABASE: "test"
207 MYSQL_PASSWORD: "test"