Skip to content

Commit

Permalink
Use php 7.2
Browse files Browse the repository at this point in the history
Needed for webauthm requires beberlei/assert version 3 or higher
  • Loading branch information
Eric Pinxteren committed Aug 1, 2019
1 parent f8a907d commit 712eff6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
language: php

php:
- 5.6
- 7.0
- 7.1
- 7.2

cache:
directories:
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
]
},
"require": {
"php": ">=5.5.9",
"beberlei/assert": "^2.7",
"php": ">=7.2",
"beberlei/assert": "^3",
"incenteev/composer-parameter-handler": "^2.0",
"sensio/distribution-bundle": "^5.0.19",
"sensio/framework-extra-bundle": "^3.0.2",
Expand Down
2 changes: 1 addition & 1 deletion homestead/Homestead.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ memory: 4096
cpus: 2
provider: virtualbox
authorize: ~/.ssh/id_rsa.pub
php: 5.6
php: 7.2
keys:
- ~/.ssh/id_rsa
folders:
Expand Down
5 changes: 2 additions & 3 deletions homestead/after.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@

cd /home/vagrant/code

sudo cp /home/vagrant/code/homestead/php.ini /etc/php/5.6/mods-available/custom.ini
sudo phpenmod -v 5.6 custom
sudo cp /home/vagrant/code/homestead/php.ini /etc/php/7.2/mods-available/custom.ini
sudo phpenmod -v 7.2 custom
composer install

echo 'cd /home/vagrant/code' >> ~/.profile

0 comments on commit 712eff6

Please sign in to comment.