File tree Expand file tree Collapse file tree 1 file changed +27
-6
lines changed
Expand file tree Collapse file tree 1 file changed +27
-6
lines changed Original file line number Diff line number Diff line change 1+ dist : xenial
2+
3+ addons :
4+ apt :
5+ packages :
6+ - ant-optional
7+
18language : php
29
310php :
11+ - " 7.3"
412 - " 7.2"
513 - " 7.1"
614 - " 7.0"
917env :
1018 - CONTAO_VERSION=~3.5.5
1119
12- sudo : false
13-
14- before_install :
15- - echo "memory_limit = -1" > travis.php.ini && phpenv config-add travis.php.ini
16-
17- install :
20+ before_script :
21+ - echo "memory_limit=-1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
1822 - travis_retry composer self-update && composer --version
1923 - travis_retry composer require contao/core $CONTAO_VERSION --no-update
24+ - >
25+ if [ "x${TRAVIS_TAG}" != "x" ]; then
26+ export COMPOSER_ROOT_VERSION=${TRAVIS_TAG}
27+ else
28+ export COMPOSER_ROOT_VERSION=$([[ ${TRAVIS_BRANCH} =~ hotfix/([0-9.]*(-(alpha|beta|rc)[0-9]+)?) ]] \
29+ && echo ${BASH_REMATCH[1]} \
30+ || echo dev-${TRAVIS_BRANCH})
31+ fi
32+ - echo "Using root version ${COMPOSER_ROOT_VERSION}"
2033 - travis_retry composer update --prefer-dist --no-interaction
2134
2235script : ant -keep-going
2336
2437# Hack to make things work again - we can not use a shallow repository.
2538git :
2639 depth : 2147483647
40+
41+ branches :
42+ except :
43+ - /.*-translation/
44+
45+ cache :
46+ directories :
47+ - vendor
You can’t perform that action at this time.
0 commit comments