-- name: mysql-php7.1
- image: friendicaci/php7.1:php7.1.32
- commands:
- - phpenmod xdebug
- - sleep 20
- - ./autotest.sh
- - wget https://codecov.io/bash -O codecov.sh
- - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 2f4b253b-ca17-41d7-96e3-81623581c97d -f tests/autotest-clover.xml; fi"
- - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 2f4b253b-ca17-41d7-96e3-81623581c97d -f tests/autotest-clover.xml; fi"
- environment:
- MYSQL_USERNAME: friendica
- MYSQL_PASSWORD: friendica
- MYSQL_DATABASE: friendica
- MYSQL_HOST: mysql
-
-services:
-- name: mysql
- image: mysql:8.0
- command: [ "--default-authentication-plugin=mysql_native_password" ]
- environment:
- MYSQL_ROOT_PASSWORD: friendica
- MYSQL_USER: friendica
- MYSQL_PASSWORD: friendica
- MYSQL_DATABASE: friendica
- tmpfs:
- - /var/lib/mysql
-
-#trigger:
-# branch:
-# - master
-# - develop
-# - "*-rc"
-# event:
-# - pull_request
-# - push
+ - name: Run default Xgettext
+ image: friendicaci/transifex
+ commands:
+ - ./bin/run_xgettext.sh
+
+ - name: Check default
+ image: friendicaci/transifex
+ commands:
+ - /check-messages.sh