-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
78 changed files
with
3,727 additions
and
1,768 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
################################################################################ | ||
# | ||
# This file is part of SplashSync Project. | ||
# | ||
# Copyright (C) Splash Sync <www.splashsync.com> | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
# | ||
# For the full copyright and license information, please view the LICENSE | ||
# file that was distributed with this source code. | ||
# | ||
# @author Bernard Paquier <[email protected]> | ||
# | ||
################################################################################ | ||
|
||
################################################################ | ||
# Set any variables we need | ||
variables: | ||
COMPOSER_MEMORY_LIMIT: -1 | ||
SYMFONY_DEPRECATIONS_HELPER: disabled | ||
|
||
################################################################ | ||
# Defined Pipeline Stages | ||
stages: | ||
- tests | ||
# - deploy | ||
|
||
################################################################ | ||
# Functional Tests | ||
################################################################ | ||
|
||
.core_tests: &core_tests | ||
stage: tests | ||
tags: | ||
- Dedicated | ||
################################################################################ | ||
# Install & Configure Environment | ||
before_script: | ||
# Setup Travis | ||
- curl -s https://raw.githubusercontent.com/BadPixxel/Php-Sdk/main/ci/configure.sh | sh | ||
# Deploy Symfony Files | ||
- curl -s https://raw.githubusercontent.com/BadPixxel/Php-Sdk/main/symfony/deploy.sh | sh | ||
# Setup Symfony Version & Create Database | ||
- curl -s https://raw.githubusercontent.com/BadPixxel/Php-Sdk/main/symfony/configure.sh | sh | ||
# Install Symfony | ||
- curl -s https://raw.githubusercontent.com/BadPixxel/Php-Sdk/main/symfony/install.sh | sh | ||
|
||
################################################################################ | ||
# Run Test Script | ||
script: | ||
# Execute Grumphp Testsuite | ||
- curl -s https://raw.githubusercontent.com/BadPixxel/Php-Sdk/main/ci/grumphp.sh | sh | ||
# Execute PhpUnit Tests | ||
- vendor/bin/phpunit | ||
|
||
################################################################################ | ||
# Run After Script | ||
after_script: | ||
- curl -s https://raw.githubusercontent.com/BadPixxel/Php-Sdk/main/ci/after.sh | sh | ||
|
||
tests:php-7.4: | ||
image: registry.gitlab.com/badpixxel-projects/php-sdk:php-7.4 | ||
<<: *core_tests | ||
|
||
tests:php-7.3: | ||
image: registry.gitlab.com/badpixxel-projects/php-sdk:php-7.3 | ||
<<: *core_tests | ||
|
||
tests:php-7.2: | ||
image: registry.gitlab.com/badpixxel-projects/php-sdk:php-7.2 | ||
<<: *core_tests | ||
|
||
#tests:php-8.0: | ||
# image: registry.gitlab.com/badpixxel-projects/php-sdk:php-8.0 | ||
# allow_failure: true | ||
# <<: *core_tests | ||
|
||
################################################################ | ||
# Build Documentation | ||
################################################################ | ||
#pages: | ||
# image: registry.gitlab.com/badpixxel-projects/php-sdk:jekyll | ||
# stage: deploy | ||
# tags: | ||
# - Dedicated | ||
# services: | ||
# - docker:dind | ||
# ################################################################################ | ||
# # Run Test Script | ||
# script: | ||
# # Deploy Symfony Files | ||
# - curl -s https://raw.githubusercontent.com/BadPixxel/Php-Sdk/main/symfony/deploy.sh | sh | ||
# # Run Composer to Build deps | ||
# - curl -s https://raw.githubusercontent.com/BadPixxel/Php-Sdk/main/ci/composer.sh | bash | ||
# # Build Documentation | ||
# - php vendor/bin/grumphp run --tasks=build-docs | ||
# artifacts: | ||
# paths: | ||
# - public |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.