language: php

cache:
    directories:
        - vendor
        - extra/*/vendor
        - $HOME/.composer/cache/files

env:
    global:
        - SYMFONY_PHPUNIT_DISABLE_RESULT_CACHE=1

before_install:
    - phpenv config-rm xdebug.ini || return 0

install:
    - travis_retry composer install
    - cd extra/cssinliner-extra && travis_retry composer install
    - cd extra/html-extra && travis_retry composer install
    - cd extra/inky-extra && travis_retry composer install
    - cd extra/intl-extra && travis_retry composer install
    - cd extra/markdown-extra && travis_retry composer install
    - cd extra/string-extra && travis_retry composer install

script:
    - ./vendor/bin/simple-phpunit
    - cd extra/cssinliner-extra && ./vendor/bin/simple-phpunit
    - cd extra/html-extra && ./vendor/bin/simple-phpunit
    - cd extra/inky-extra && ./vendor/bin/simple-phpunit
    - cd extra/intl-extra && ./vendor/bin/simple-phpunit
    - cd extra/markdown-extra && ./vendor/bin/simple-phpunit
    - cd extra/string-extra && ./vendor/bin/simple-phpunit

jobs:
    fast_finish: true
    include:
        - php: 7.2
        - php: 7.3
        - php: 7.4snapshot
        # Drupal does not support 3.x yet
        #- stage: integration tests
        #  php: 7.3
        #  script: ./drupal_test.sh

language: php

cache:
    directories:
        - vendor
        - extra/*/vendor
        - $HOME/.composer/cache/files

env:
    global:
        - SYMFONY_PHPUNIT_DISABLE_RESULT_CACHE=1

before_install:
    - phpenv config-rm xdebug.ini || return 0

install:
    - travis_retry composer install
    - (cd extra/cssinliner-extra && travis_retry composer install)
    - (cd extra/html-extra && travis_retry composer install)
    - (cd extra/inky-extra && travis_retry composer install)
    - (cd extra/intl-extra && travis_retry composer install)
    - (cd extra/markdown-extra && travis_retry composer install)
    - (cd extra/string-extra && travis_retry composer install)

script:
    - ./vendor/bin/simple-phpunit
    - (cd extra/cssinliner-extra && ./vendor/bin/simple-phpunit)
    - (cd extra/html-extra && ./vendor/bin/simple-phpunit)
    - (cd extra/inky-extra && ./vendor/bin/simple-phpunit)
    - (cd extra/intl-extra && ./vendor/bin/simple-phpunit)
    - (cd extra/markdown-extra && ./vendor/bin/simple-phpunit)
    - (cd extra/string-extra && ./vendor/bin/simple-phpunit)

jobs:
    fast_finish: true
    include:
        - php: 7.2
        - php: 7.3
        - php: 7.4snapshot
        # Drupal does not support 3.x yet
        #- stage: integration tests
        #  php: 7.3
        #  script: ./drupal_test.sh

Fix the Travis config again
Fix the Travis config again

The parenthesis around the statements are isolating the directory changes in a sub-command. So the right fix was not to remove the closing parenthesis, but to re-add the opening one.