mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 13:47:31 +02:00
Removed GitLab CI
This commit is contained in:
2
.github/workflows/test-e107.yml
vendored
2
.github/workflows/test-e107.yml
vendored
@@ -93,7 +93,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
token: ${{ secrets.CODECOV_TOKEN }}
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
file: ./e107_tests/tests/_output/coverage.xml
|
file: ./e107_tests/tests/_output/coverage.xml
|
||||||
flags: unittests
|
flags: unit-tests
|
||||||
name: ${{ matrix.interpreter.image }}-${{ matrix.db.image }}
|
name: ${{ matrix.interpreter.image }}-${{ matrix.db.image }}
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
|
||||||
|
@@ -1,54 +0,0 @@
|
|||||||
before_script:
|
|
||||||
- bash ./lib/ci/setup.sh
|
|
||||||
|
|
||||||
cache:
|
|
||||||
paths:
|
|
||||||
- ./vendor/
|
|
||||||
|
|
||||||
variables:
|
|
||||||
MYSQL_DATABASE: app
|
|
||||||
MYSQL_ROOT_PASSWORD: 'Database Password for Continuous Integration'
|
|
||||||
|
|
||||||
test:php5.6-mysql5.5:
|
|
||||||
services:
|
|
||||||
- mysql:5.5
|
|
||||||
image: php:5.6
|
|
||||||
script: "php ./vendor/bin/codecept run unit --steps --debug"
|
|
||||||
|
|
||||||
test:php7.1-mysql5.6:
|
|
||||||
services:
|
|
||||||
- mysql:5.6
|
|
||||||
image: php:7.1
|
|
||||||
script: "php ./vendor/bin/codecept run unit --steps --debug --coverage --coverage-xml --coverage-html"
|
|
||||||
|
|
||||||
test:php7.2-mysql5.7:
|
|
||||||
services:
|
|
||||||
- mysql:5.6
|
|
||||||
image: php:7.2
|
|
||||||
script: "php ./vendor/bin/codecept run unit --steps --debug --coverage --coverage-xml --coverage-html"
|
|
||||||
|
|
||||||
test:php7.3-mysql8.0:
|
|
||||||
services:
|
|
||||||
- name: mysql:8.0
|
|
||||||
command: ["mysqld", "--default-authentication-plugin=mysql_native_password"]
|
|
||||||
image: php:7.3
|
|
||||||
script: "php ./vendor/bin/codecept run unit --steps --debug --coverage --coverage-xml --coverage-html"
|
|
||||||
artifacts:
|
|
||||||
when: always
|
|
||||||
paths:
|
|
||||||
- ./tests/_output/
|
|
||||||
|
|
||||||
pages:
|
|
||||||
stage: deploy
|
|
||||||
dependencies:
|
|
||||||
- test:php7.3-mysql8.0
|
|
||||||
image: ruby:latest
|
|
||||||
before_script: []
|
|
||||||
script:
|
|
||||||
- mv ./tests/_output/ ./public/
|
|
||||||
when: always
|
|
||||||
artifacts:
|
|
||||||
paths:
|
|
||||||
- ./public/
|
|
||||||
only:
|
|
||||||
- master
|
|
@@ -1,21 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
apt-get update
|
|
||||||
apt-get install -y git zip libzip-dev
|
|
||||||
|
|
||||||
pecl install zip
|
|
||||||
docker-php-ext-enable zip
|
|
||||||
pecl install xdebug
|
|
||||||
docker-php-ext-enable xdebug
|
|
||||||
docker-php-ext-install pdo_mysql
|
|
||||||
|
|
||||||
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
|
|
||||||
php composer-setup.php
|
|
||||||
php -r "unlink('composer-setup.php');"
|
|
||||||
|
|
||||||
php composer.phar install
|
|
||||||
php composer.phar update
|
|
||||||
|
|
||||||
git submodule update --init --recursive --remote
|
|
||||||
|
|
||||||
cp ./lib/ci/config.ci.yml ./config.yml
|
|
Reference in New Issue
Block a user