File tree Expand file tree Collapse file tree 6 files changed +46
-26
lines changed Expand file tree Collapse file tree 6 files changed +46
-26
lines changed Original file line number Diff line number Diff line change @@ -46,11 +46,11 @@ before_script:
46
46
47
47
script :
48
48
- ./bin/compile
49
- - ./bin/compile-extensions || true
50
- - if [[ $VERSION =~ ^7 ]]; then ./bin/compile-extension-redis; fi
51
- - if [[ $VERSION =~ ^7 ]]; then ./bin/compile-extension-mongodb; fi
52
- - if [[ $VERSION =~ ^7 ]]; then ./bin/compile-extension-amqp; fi
53
- - if [[ $VERSION =~ ^7 ]]; then ./bin/compile-extension-zmq; fi
49
+ # - ./bin/compile-extensions
50
+ - ./bin/compile-extension-redis
51
+ - ./bin/compile-extension-mongodb
52
+ - ./bin/compile-extension-amqp
53
+ - ./bin/compile-extension-zmq
54
54
- ./bin/compile-extension-memcached
55
55
56
56
after_success : ./bin/archive
Original file line number Diff line number Diff line change @@ -8,3 +8,7 @@ git submodule update
8
8
autoreconf -i && ./configure && make && sudo make install
9
9
10
10
popd
11
+
12
+ # # still need to build extension
13
+
14
+ true
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
-
3
2
set -o xtrace
4
3
5
- git clone --branch PHP7 https://github.com/mongodb-labs/mongo-php-driver-prototype.git
6
- pushd mongo-php-driver-prototype
7
- git submodule update --init
8
- phpize
9
- ./configure
10
- make all
11
- make install
12
- popd
4
+ if [[ $VERSION =~ ^7 ]]; then
5
+ git clone --branch PHP7 https://github.com/mongodb-labs/mongo-php-driver-prototype.git
6
+ pushd mongo-php-driver-prototype
7
+ git submodule update --init
8
+ phpize
9
+ ./configure
10
+ make all
11
+ make install
12
+ popd
13
+ else
14
+ source $( dirname $0 ) /compile-extensions-common
15
+ pecl_install mongodb
16
+ fi
17
+
18
+ true
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
set -o xtrace
3
3
4
- git clone https://github.com/phpredis/phpredis.git --branch php7
5
- pushd phpredis
6
- phpize
7
- ./configure
8
- make && make install
9
- popd
4
+ if [[ $VERSION =~ ^7 ]]; then
5
+ git clone https://github.com/phpredis/phpredis.git --branch php7
6
+ pushd phpredis
7
+ phpize
8
+ ./configure
9
+ make && make install
10
+ popd
11
+ else
12
+ source $( dirname $0 ) /compile-extensions-common
13
+ pecl_install redis
14
+ fi
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
set -o xtrace
3
3
4
- git clone https://github.com/mkoppanen/php-zmq.git --branch php7
5
- pushd php-zmq
6
- autoreconf -i && ./configure && make && sudo make install
4
+ if [[ $VERSION =~ ^7 ]]; then
5
+ git clone https://github.com/mkoppanen/php-zmq.git --branch php7
6
+ pushd php-zmq
7
+ autoreconf -i && ./configure && make && sudo make install
7
8
8
- popd
9
+ popd
10
+ else
11
+ source $( dirname $0 ) /compile-extensions-common
12
+ pecl_install zmq
13
+ fi
14
+
15
+ true
Original file line number Diff line number Diff line change @@ -7,5 +7,3 @@ phpenv global ${VERSION}
7
7
8
8
source $( dirname $0 ) /compile-extensions-common
9
9
10
- pecl_install mongodb
11
- # pecl_install redis
You can’t perform that action at this time.
0 commit comments