Skip to content

Commit

Permalink
Only bother with Psalm on PHP 7.1+
Browse files Browse the repository at this point in the history
  • Loading branch information
paragonie-security committed Apr 22, 2019
1 parent 2143fb9 commit a9d19a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ matrix:
- php: "5.5"
env: USE_PSALM=0
- php: "5.6"
env: USE_PSALM=1
env: USE_PSALM=0
- php: "7.0"
env: USE_PSALM=1
env: USE_PSALM=0
- php: "7.1"
env: USE_PSALM=1
- php: "7.2"
Expand All @@ -26,7 +26,7 @@ matrix:

install:
- composer self-update
- if [[ $USE_PSALM -eq 1 ]]; then composer require --dev "vimeo/psalm:^1|^2|^3"; fi
- if [[ $USE_PSALM -eq 1 ]]; then composer require --dev "vimeo/psalm:^3"; fi
- composer update

script:
Expand Down

0 comments on commit a9d19a0

Please sign in to comment.