bluebox-production-com Merge branch 'master' into bluebox-production-com

Push event #2362.2 passed

  • Ran for
AMD64
no language set
Git
FriendsOfSymfony/FOSCKEditorBundle:.travis.yml@7e1cfe2
language: php
sudo: false

cache:
    pip: true
    directories:
        - $HOME/.composer/cache/files
        - $HOME/symfony-bridge/.phpunit

env:
    global:
        - PHPUNIT_FLAGS="-v"
        - SYMFONY_PHPUNIT_DIR="$HOME/symfony-bridge/.phpunit"
        - SYMFONY_PHPUNIT_VERSION="6.5"
        - TARGET=test

matrix:
    fast_finish: true
    include:
          # Minimum supported dependencies with the oldest supported PHP version
        - php: 7.1
          env:
            - COMPOSER_FLAGS="--prefer-stable --prefer-lowest"
            - SYMFONY_DEPRECATIONS_HELPER="weak_vendors"
            - SYMFONY_PHPUNIT_VERSION="5.7.26"

          # Coverage
        - php: 7.4
          env:
            - PHPUNIT_FLAGS="-v --coverage-clover build/logs/clover.xml"
            - COVERAGE=true

          # Test LTS version. This makes sure we do not use Symfony packages with version greater
          # than 3. Read more at https://github.com/symfony/lts
        - php: 7.1
          env: DEPENDENCIES="symfony/lts:^3"

          #doc
        - php: 7.2
          env: TARGET=docs

        - php: 7.4
          env:
            - STABILITY="dev"

        - php: 7.1
          env: TARGET=phpstan LEVEL=7

        - php: '7.2'
          env: PHPUNIT_FLAGS="--group=proxy"

    allow_failures:
        - env: PHPUNIT_FLAGS="--group=proxy"
        - env: TARGET=phpstan LEVEL=7

before_install:
    - if ! [ -z "$STABILITY" ]; then composer config minimum-stability ${STABILITY}; fi;
    - if ! [ -v "$DEPENDENCIES" ]; then composer require --no-update ${DEPENDENCIES}; fi;

install:
    - if [ -x .travis/install_${TARGET}.sh ]; then .travis/install_${TARGET}.sh; fi;

script:
    - if [ -x .travis/script_${TARGET}.sh ]; then .travis/script_${TARGET}.sh; fi;

after_success: .travis/success.sh
Build Config
{
  "env": [
    "JRUBY_OPTS=\"--dev -Xcext.enabled=false -Xcompile.invokedynamic=false\""
  ],
  "jdk": [
    "openjdk7",
    "openjdk6",
    "oraclejdk7"
  ],
  "rvm": [
    "jruby-1.7.16",
    "jruby-head"
  ],
  "sudo": false,
  "cache": "bundler",
  "matrix": {
    "allow_failures": [
      {
        "rvm": "jruby-head"
      }
    ]
  },
  "script": "bin/rspec spec",
  "language": "ruby",
  "services": [
    "rabbitmq"
  ],
  "bundler_args": "--deployment --binstubs --jobs=3 --retry=3",
  "before_script": "cp config/worker.example.yml config/worker.yml"
}