Skip to content

Commit 3fee326

Browse files
committed
getting closer
unit tests fail because it can't find the class, strange
1 parent 3b48eb0 commit 3fee326

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+1214
-98
lines changed

.gitignore

Lines changed: 1 addition & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,3 @@
1-
.deps
2-
*.lo
1+
/vendor
32
*.swp
4-
*.la
5-
.libs
6-
acinclude.m4
7-
aclocal.m4
8-
autom4te.cache
9-
build
103
docs
11-
config.guess
12-
config.h
13-
config.h.in
14-
config.log
15-
config.nice
16-
config.status
17-
config.sub
18-
configure
19-
configure.in
20-
include
21-
install-sh
22-
libtool
23-
ltmain.sh
24-
Makefile
25-
Makefile.fragments
26-
Makefile.global
27-
Makefile.objects
28-
missing
29-
mkinstalldirs
30-
modules
31-
run-tests.php
32-
tests/*/*.diff
33-
tests/*/*.out
34-
tests/*/*.php
35-
tests/*/*.exp
36-
tests/*/*.log
37-
tests/*/*.sh

.travis.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
language: php
2+
3+
php:
4+
- 7.0
5+
6+
before_script:
7+
- composer self-update
8+
- composer install --prefer-source --no-interaction --dev
9+
10+
script: phpunit

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,13 @@ $ pear install phpdoc/phpDocumentor
106106
$ phpdoc
107107
```
108108

109+
### Install
110+
111+
```
112+
$ composer install
113+
$ vendor/bin/phpunit
114+
```
115+
109116
### imagick
110117

111118
```
@@ -116,3 +123,12 @@ php > dl('imagick.' . PHP_SHLIB_SUFFIX);
116123
php > $im = new Imagick();
117124
```
118125

126+
### todo
127+
128+
* strange, why can't we have this in `require` in `composer.json`?
129+
130+
```
131+
, "ext-vips" : ">=0.1.0"
132+
```
133+
134+
we get an error from composer, even though `php -i` says that vips is enabled

composer.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "jcupitt/vips",
2+
"name": "vips/image",
33
"description": "A high-level interface to the libvips image processing library.",
44
"keywords": [
55
"image",
@@ -17,20 +17,19 @@
1717
}
1818
],
1919
"require": {
20-
"php" : ">=7.0.0",
21-
"ext-vips" : ">=0.1.0"
20+
"php" : ">=7.0.0"
2221
},
2322
"require-dev": {
2423
"phpunit/phpunit" : "4.*"
2524
},
2625
"autoload": {
2726
"psr-4": {
28-
"Jcupitt\\Vips\\": "src"
27+
"Vips\\Image\\": "src"
2928
}
3029
},
3130
"autoload-dev": {
3231
"psr-4": {
33-
"Jcupitt\\Vips\\Test\\": "tests"
32+
"Vips\\Image\\Test\\": "tests"
3433
}
3534
},
3635
"extra": {

0 commit comments

Comments
 (0)