Skip to content

Commit 619a1a4

Browse files
committed
Merge branch 'release/4.0.0'
2 parents 320a9f9 + 702158b commit 619a1a4

12 files changed

Lines changed: 2536 additions & 252 deletions

File tree

.Build/xliff-core-1.2-strict.xsd

Lines changed: 2223 additions & 0 deletions
Large diffs are not rendered by default.

.github/FUNDING.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# These are supported funding model platforms
2+
3+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
4+
github: [garbast]
5+
issuehunt: # Replace with a single IssueHunt username
6+
ko_fi: # Replace with a single Ko-fi username
7+
liberapay: # Replace with a single Liberapay username
8+
open_collective: # Replace with a single Open Collective username
9+
otechie: # Replace with a single Otechie username
10+
patreon: # Replace with a single Patreon username
11+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
12+
custom: ['https://www.paypal.me/garbast']

.github/workflows/ci.yml

Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
name: build
2+
3+
on:
4+
push:
5+
branches: [ develop, master ]
6+
tags: [ '*' ]
7+
pull_request:
8+
branches: [ develop ]
9+
10+
jobs:
11+
xliff:
12+
runs-on: ubuntu-20.04
13+
14+
name: XML Lint (Xliff)
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v2
18+
19+
- name: Install libxml2-utils
20+
run: sudo apt install libxml2-utils
21+
22+
- name: Running xmllint (Xliff)
23+
run: find Resources/Private/Language/ -name '*.xlf' -type f | xargs xmllint --noout --schema .Build/xliff-core-1.2-strict.xsd
24+
25+
lint:
26+
runs-on: ubuntu-20.04
27+
28+
strategy:
29+
matrix:
30+
php-versions: ['7.4']
31+
32+
name: Lint PHP ${{ matrix.php-versions }}
33+
steps:
34+
- name: Checkout
35+
uses: actions/checkout@v2
36+
37+
- name: Setup PHP
38+
uses: shivammathur/setup-php@v2
39+
with:
40+
php-version: ${{ matrix.php-versions }}
41+
42+
- name: Running php lint with ${{ matrix.php-versions }}
43+
run: errors=$(find . -name \*.php ! -path "./.Build/*" -exec php -d display_errors=stderr -l "{}" 2>&1 >/dev/null \;) && echo "${errors}" && test -z "${errors}"
44+
45+
phpunit:
46+
needs: lint
47+
48+
runs-on: ubuntu-20.04
49+
50+
continue-on-error: ${{ matrix.env.experimental == true }}
51+
strategy:
52+
fail-fast: false
53+
matrix:
54+
env:
55+
- { php: 7.4, TYPO3_VERSION: ^11.0, TESTING_FRAMEWORK: ^6.6.2 }
56+
- { php: 7.4, TYPO3_VERSION: ^11.0, TESTING_FRAMEWORK: ^6.6.2, PREFER_LOWEST: "--prefer-lowest" }
57+
- { php: 7.4, TYPO3_VERSION: "dev-master", TESTING_FRAMEWORK: ^6.6.2, experimental: true }
58+
59+
env: ${{ matrix.env }}
60+
61+
name: Run unit and/or functional tests on TYPO3 ${{ matrix.env.TYPO3_VERSION }} with PHP${{ matrix.env.php }} and testing framework ${{ matrix.env.TESTING_FRAMEWORK }}
62+
steps:
63+
- name: Checkout
64+
uses: actions/checkout@v2
65+
66+
- name: Setup PHP
67+
uses: shivammathur/setup-php@v2
68+
with:
69+
php-version: ${{ matrix.env.php }}
70+
tools: composer
71+
extensions: pdo, sqlite3
72+
73+
- name: Validate composer.json and composer.lock
74+
run: composer validate
75+
76+
- name: Cache dependencies
77+
uses: actions/cache@v1
78+
with:
79+
path: ~/.composer/cache
80+
key: dependencies-composer-${{ hashFiles('composer.json') }}
81+
82+
- name: Ensure stability dev
83+
if: ${{ matrix.env.TYPO3_VERSION == 'dev-master' }}
84+
run: |
85+
composer config minimum-stability dev
86+
composer config prefer-stable true
87+
88+
- name: Install TYPO3 core
89+
run: composer require typo3/cms-core="${TYPO3_VERSION}" ${PREFER_LOWEST};
90+
91+
- name: Install testing framework ${{ matrix.env.TESTING_FRAMEWORK }}
92+
if: ${{ matrix.env.TESTING_FRAMEWORK }}
93+
run: composer require --dev typo3/testing-framework="${TESTING_FRAMEWORK}";
94+
95+
- name: Reset composer.json
96+
run: git checkout composer.json;
97+
98+
TERUpload:
99+
needs: [ xliff, lint, phpunit ]
100+
if: startsWith(github.ref, 'refs/tags/')
101+
102+
runs-on: ubuntu-latest
103+
104+
strategy:
105+
fail-fast: false
106+
107+
name: TYPO3 TER release
108+
steps:
109+
- name: Checkout
110+
uses: actions/checkout@v2
111+
112+
- name: Publish to TER
113+
uses: tomasnorre/typo3-upload-ter@v1
114+
with:
115+
api-token: ${{ secrets.TYPO3_API_TOKEN }}

.travis.yml

Lines changed: 0 additions & 102 deletions
This file was deleted.

0 commit comments

Comments
 (0)