@@ -5,29 +5,6 @@ branches:
55 - master
66 - /^([0-9]+\.){1,2}(x|[0-9]+)$/
77
8- matrix :
9- include :
10- - php : 7.2
11- env : TYPO3_VERSION=^8.7
12- - php : 7.1
13- env : TYPO3_VERSION=^8.7
14- - php : 7.0
15- env : TYPO3_VERSION=^8.7
16- - php : 7.2
17- env : TYPO3_VERSION=^7.6
18- - php : 7.1
19- env : TYPO3_VERSION=^7.6
20- - php : 7.0
21- env : TYPO3_VERSION=^7.6
22- - php : 5.6
23- env : TYPO3_VERSION=^7.6
24- - php : 5.5
25- env : TYPO3_VERSION=^7.6
26- - php : 5.6
27- env : TYPO3_VERSION=^6.2
28- - php : 5.5
29- env : TYPO3_VERSION=^6.2
30-
318notifications :
329 email :
3310@@ -45,7 +22,7 @@ addons:
4522before_install :
4623 - phpenv config-rm xdebug.ini
4724
48- before_script :
25+ install :
4926 - composer require typo3/cms=$TYPO3_VERSION
5027 - export TYPO3_PATH_WEB="$PWD/.Build/Web"
5128
@@ -68,18 +45,54 @@ script:
6845 export typo3DatabasePassword="";
6946 find 'Tests/Functional' -wholename '*Test.php' | parallel --gnu 'echo; echo "Running functional test suite {}"; .Build/bin/phpunit -c .Build/vendor/nimut/testing-framework/res/Configuration/FunctionalTests.xml {}'
7047
71- after_script :
72- - >
73- if [ -n "$TRAVIS_TAG" ] && [ -n "$TYPO3_ORG_USERNAME" ] && [ -n "$TYPO3_ORG_PASSWORD" ]; then
74- echo -e "Preparing upload of release ${TRAVIS_TAG} to TER\n"
75- curl -sSL https://raw.githubusercontent.com/alrra/travis-after-all/1.4.4/lib/travis-after-all.js | node
76- if [ $? -eq 0 ]; then
77- composer require --dev helhum/ter-client
78- # Cleanup before we upload
79- git reset --hard HEAD && git clean -fx
48+ jobs :
49+ fast_finish : true
50+ include :
51+ - stage : test
52+ php : 7.2
53+ env : TYPO3_VERSION=^8.7
54+ - stage : test
55+ php : 7.1
56+ env : TYPO3_VERSION=^8.7
57+ - stage : test
58+ php : 7.0
59+ env : TYPO3_VERSION=^8.7
60+ - stage : test
61+ php : 7.2
62+ env : TYPO3_VERSION="^7.6"
63+ - stage : test
64+ php : 7.1
65+ env : TYPO3_VERSION="^7.6"
66+ - stage : test
67+ php : 7.0
68+ env : TYPO3_VERSION="^7.6"
69+ - stage : test
70+ php : 5.6
71+ env : TYPO3_VERSION=^7.6
72+ - stage : test
73+ php : 5.5
74+ env : TYPO3_VERSION=^7.6
75+ - stage : test
76+ php : 5.6
77+ env : TYPO3_VERSION=^6.2
78+ - stage : test
79+ php : 5.5
80+ env : TYPO3_VERSION=^6.2
81+
82+ - stage : 🚢 to TER
83+ if : tag IS present
84+ php : 7.0
85+ install : skip
86+ before_script : skip
87+ script :
88+ - |
89+ if [ -n "$TYPO3_ORG_USERNAME" ] && [ -n "$TYPO3_ORG_PASSWORD" ]; then
90+ echo -e "Preparing upload of release ${TRAVIS_TAG} to TER\n";
91+ # Install ter client
92+ composer global require helhum/ter-client
8093
81- TAG_MESSAGE=`git tag -n10 -l $TRAVIS_TAG | sed 's/^[0-9.]*[ ]*//g'`
82- echo "Uploading release ${ TRAVIS_TAG} to TER"
83- .Build/bin/upload typoscript_rendering . -u "$TYPO3_ORG_USERNAME" -p "$TYPO3_ORG_PASSWORD" -m "$TAG_MESSAGE "
84- fi;
85- fi;
94+ # Upload
95+ TAG_MESSAGE=`git tag -n10 -l $ TRAVIS_TAG | sed 's/^[0-9.]*[ ]*//g'`
96+ echo "Uploading release ${TRAVIS_TAG} to TER "
97+ $HOME/.composer/vendor/bin/ter-client upload typoscript_rendering . -u "$TYPO3_ORG_USERNAME" -p "$TYPO3_ORG_PASSWORD" -m "$TAG_MESSAGE"
98+ fi;
0 commit comments