"Fossies" - the Fresh Open Source Software Archive

Member "neos-development-collection-7.0.1/.travis.yml" (23 Feb 2021, 4038 Bytes) of package /linux/www/neos-development-collection-7.0.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Ansible YAML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for ".travis.yml": 5.2.3_vs_5.3.0.

    1 language: php
    2 os: linux
    3 dist: bionic
    4 branches:
    5   only:
    6   - /(master|\d+\.\d+)/
    7 jobs:
    8   fast_finish: true
    9   include:
   10     - php: 7.3
   11       env: DB=mysql
   12       addons:
   13         mariadb: '10.2'
   14     - php: 7.3
   15       env: DB=mysql BEHAT=true
   16       addons:
   17         mariadb: '10.2'
   18     - php: 7.4
   19       env: DB=pgsql
   20       addons:
   21         postgresql: "9.5"
   22     - php: 7.4
   23       env: DB=pgsql BEHAT=true
   24       addons:
   25         postgresql: "9.5"
   26     - php: 7.4
   27       env: DB=mysql
   28       addons:
   29         mariadb: '10.2'
   30     - php: 7.4
   31       env: DB=mysql BEHAT=true
   32       addons:
   33         mariadb: '10.2'
   34 cache:
   35   directories:
   36     - $HOME/.composer/cache
   37 before_install:
   38   - export NEOS_TARGET_REPOSITORY=neos/neos-development-collection
   39   - export NEOS_TARGET_VERSION=7.0
   40   - if [ "$DB" = "pgsql" ]; then sudo mount -o remount,size=25% /var/ramfs ; fi
   41   - phpenv config-rm xdebug.ini || echo "xdebug not available"
   42   - env
   43   - sudo add-apt-repository ppa:git-core/ppa -y
   44   - sudo apt-get update
   45   - sudo apt-get install git -y
   46   - git checkout -b travis
   47   - cd ..
   48   - git clone https://github.com/neos/neos-development-distribution.git -b ${NEOS_TARGET_VERSION}
   49   - cd neos-development-distribution
   50 install:
   51   - composer self-update -q
   52   - if [ -n "$GH_TOKEN" ]; then composer config github-oauth.github.com ${GH_TOKEN}; fi;
   53   - COMPOSER_MEMORY_LIMIT=-1 composer update --no-progress --no-interaction
   54   - php Build/BuildEssentials/TravisCi/ComposerManifestUpdater.php .
   55   - COMPOSER_MEMORY_LIMIT=-1 composer update --no-progress --no-interaction
   56 before_script:
   57   - echo 'date.timezone = "Africa/Tunis"' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
   58   - echo 'opcache.fast_shutdown = 0' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
   59   - echo 'opcache.enable_cli = 0' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
   60   - echo 'zend.enable_gc = 0' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
   61   - echo 'report_zend_debug = 0' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
   62   - echo 'report_memleaks = 0' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
   63   - echo 'bin/phpunit --colors -c Build/BuildEssentials/PhpUnit/UnitTests.xml && exit 0' > unittest.sh
   64   - echo 'if [ $? -eq 139 ]; then exit 0 ; else exit $? ; fi' >> unittest.sh
   65   - cp Configuration/Settings.yaml.example Configuration/Settings.yaml
   66   - Build/BuildEssentials/TravisCi/SetupDatabase.sh
   67   - cp Configuration/Settings.yaml Configuration/Testing/
   68   - if [ "$BEHAT" = "true" ]; then FLOW_CONTEXT=Testing/Behat ./flow behat:setup ; fi
   69   - if [ "$DB" = "mysql" ]; then echo "MariaDB version ${TRAVIS_MARIADB_VERSION}"; fi
   70 script:
   71   - if [ "$BEHAT" != "true" ]; then sh ./unittest.sh ; fi
   72   - if [ "$BEHAT" != "true" ]; then bin/phpunit --colors --stop-on-failure -c Build/BuildEssentials/PhpUnit/FunctionalTests.xml --testsuite "Neos tests"; fi
   73   - if [ "$BEHAT" = "true" ]; then bin/behat --stop-on-failure -f progress -c Packages/Neos/Neos.Neos/Tests/Behavior/behat.yml.dist --tags ~@browser; fi
   74   - if [ "$BEHAT" = "true" ]; then bin/behat --stop-on-failure -f progress -c Packages/Neos/Neos.ContentRepository/Tests/Behavior/behat.yml.dist; fi
   75 notifications:
   76   email: false
   77   slack:
   78     rooms:
   79       secure: SQCIQBP9+y1naRD+L6yHKBeB8V5jULF8jnwSKv2XcolMBIPu1UGTJYQPnQ33K0EB7MucE2FegKslJDjk0tsYQ85cKLOoyCGUGWm+L/gkiMuMF5g0hgQx6M1EFfxoCitsu4VjGJ9O9NFQ8qQVhR5q8LU164M6sIjqKMd4nAY8lT9jfClVpMzz5zqvEZ4akRJjeZsJiUUXwmZCqp7ksXX5+MTu+MW9FiKLt7LyHtZU4ork1czAr2kkYd98uknwHgXX7fVQcUTOwdbNDkRgRMu4fmaS2jkOkV2Hu+lYAFF0m84aT2EhR3QSd4doVU8KEXDYFt6A8NeQi/7/i20vJuwZzFkV89HOFEHIxJWb74P3sbDbmqNDe8AIIPYA9d9u2Zp+H+Nvmj//iZHqXKcpEUtN+mZKK8338x5NwBPH+ppG424qI3Y9+9OVL0U+YEYjMrYbim0lmkqt9NM0aC2MSOwHl7OQYfNXQha5DToPpx+XdVCPlD8EDCn0gzAv1M6KCi18fUIA17HyiLjT3fYZYUME6v6jadKtlQsP6LvHPa56T4wqk48ras6TGbzAg2RRd2Sr810d9jCqAqE5O6WOM06LSnOozl9zQvXlBw1mzJAPve/XtvzTqibw7Ik00LIuiIZ05PvWtVEUWBFHzM5tpp9X+hviHMRwAGp1wC69jx99dhA=
   80     on_success: change
   81     on_failure: change
   82     on_pull_requests: false