Skip to content
This repository was archived by the owner on Mar 9, 2021. It is now read-only.

Commit 0b5d580

Browse files
committed
Removed php7.0 from travis and update composer.json
1 parent bcdc531 commit 0b5d580

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ cache:
99
- $HOME/.composer/cache
1010

1111
php:
12-
- 7.0
1312
- 7.1
1413

1514
before_install:
15+
- "phantomjs --version"
1616
- "if [ $(phantomjs --version) != '2.1.1' ]; then rm -rf $PWD/travis_phantomjs; mkdir -p $PWD/travis_phantomjs; fi"
1717
- "if [ $(phantomjs --version) != '2.1.1' ]; then wget https://assets.membergetmember.co/software/phantomjs-2.1.1-linux-x86_64.tar.bz2 -O $PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2; fi"
1818
- "if [ $(phantomjs --version) != '2.1.1' ]; then tar -xvf $PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C $PWD/travis_phantomjs; fi"

composer.json

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
{
22
"name": "josh/laravel-phantomjs",
3+
"description": "Use phantom-js in laravel",
4+
"keywords": ["phantomjs-php", "phantomjs","phantom-js", "laravel"],
5+
"license": "MIT",
6+
"support": {
7+
"issues": "https://github.com/iamalirezaj/laravel-phantomjs/issues",
8+
"source": "https://github.com/iamalirezaj/laravel-phantomjs"
9+
},
310
"authors": [
411
{
512
"name": "Alireza Josheghani",
@@ -17,16 +24,11 @@
1724
}
1825
},
1926
"require": {
27+
"php": "^7.1",
2028
"laravel/framework": "^5",
2129
"jonnyw/php-phantomjs": "^4"
2230
},
2331
"require-dev": {
2432
"phpunit/phpunit": "^7.0"
25-
},
26-
"scripts": {
27-
"post-root-package-install": [
28-
"@php ./install_phantomjs.php"
29-
]
30-
},
31-
"license": "MIT"
33+
}
3234
}

0 commit comments

Comments
 (0)