Skip to content

Commit

Permalink
Add PHP 8 Support (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
TravisCarden authored Jun 11, 2021
1 parent f3c20af commit 223a8af
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,9 @@ jobs:
# - { env: ORCA_JOB=INTEGRATED_TEST_ON_NEXT_MAJOR_LATEST_MINOR_DEV, name: "Integrated test on next major, latest minor dev Drupal core version" }
- { env: ORCA_JOB=ISOLATED_UPGRADE_TEST_TO_NEXT_MAJOR_BETA_OR_LATER, name: "Isolated upgrade test to next major beta-or-later Drupal core version" }
- { env: ORCA_JOB=ISOLATED_UPGRADE_TEST_TO_NEXT_MAJOR_DEV, name: "Isolated upgrade test to next major dev Drupal core version" }
# Custom job.
# Custom jobs.
- { env: BEHAT=TRUE ORCA_PACKAGES_CONFIG=../drupal-spec-tool/config/packages.yml, name: "Lightning/Spreadsheet/Behat integration test" }
- { env: BEHAT=TRUE ORCA_PACKAGES_CONFIG=../drupal-spec-tool/config/packages.yml, php: "8.0", dist: focal, name: "Lightning/Spreadsheet/Behat integration test on PHP 8.0" }
allow_failures:
- env: ORCA_JOB=INTEGRATED_UPGRADE_TEST_TO_NEXT_MINOR_DEV
- env: ORCA_JOB=LOOSE_DEPRECATED_CODE_SCAN
Expand All @@ -76,7 +77,7 @@ jobs:
- env: ORCA_JOB=ISOLATED_UPGRADE_TEST_TO_NEXT_MAJOR_DEV

before_install:
- composer create-project --no-dev acquia/orca ../orca "$ORCA_VERSION"
- composer create-project --no-dev --ignore-platform-req=php acquia/orca ../orca "$ORCA_VERSION"
- ../orca/bin/travis/before_install.sh

install:
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
}
],
"require": {
"php": "^7.3",
"php": "^7.3 || ^8.0",
"drupal/core": "^9.0",
"drupal/drupal-extension": "^3.4 || ^4.0",
"traviscarden/behat-table-comparison": "^0.2.1"
"traviscarden/behat-table-comparison": "^0.3"
},
"suggest": {
"nickwilde1990/drupal-spec-tool-commands": "^1.0@RC"
Expand Down

0 comments on commit 223a8af

Please sign in to comment.