Skip to content
This repository has been archived by the owner on Dec 1, 2024. It is now read-only.

Commit

Permalink
Add --hhvm-4.2-to-4.3 migration flag - <> => !=
Browse files Browse the repository at this point in the history
Also only test on 4.2
  • Loading branch information
fredemmott committed Apr 30, 2019
1 parent 1983210 commit df062f2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
6 changes: 1 addition & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@ sudo: required
language: generic
services: docker
env:
- HHVM_VERSION=latest
- HHVM_VERSION=nightly
matrix:
allow_failures:
- env: HHVM_VERSION=latest
- HHVM_VERSION=4.2-latest
install:
- docker pull hhvm/hhvm:$HHVM_VERSION
script:
Expand Down
7 changes: 7 additions & 0 deletions src/__Private/MigrationCLI.hack
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,13 @@ class MigrationCLI extends CLIWithRequiredArguments {
'Apply all migrations for moving from 3.23 to 3.24',
'--hhvm-3.23-to-3.24',
),
CLIOptions\flag(
() ==> {
$this->migrations[] = PHPLessThanGreaterThanOperatorMigration::class;
},
'Apply all migrations for moving from 4.2 to 4.3',
'--hhvm-4.2-to-4.3',
),
CLIOptions\flag(
() ==> {
$this->migrations[] = PHPLessThanGreaterThanOperatorMigration::class;
Expand Down

0 comments on commit df062f2

Please sign in to comment.