Skip to content

Commit 4b1a7ef

Browse files
committed
PHPC-269: Fix travis setup
1 parent 536ec40 commit 4b1a7ef

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.travis.scripts/compile.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ build_lcov
2121

2222
phpize
2323
./configure --enable-developer-flags --enable-coverage
24-
make patch
25-
make all
24+
make all -j4
2625
sudo make install
2726
echo "Use the most-up-to-date run-tests.. old ones like 5.3 don't report failure exit codes"
2827
wget -O run-tests.php https://raw.githubusercontent.com/php/php-src/master/run-tests.php
@@ -39,3 +38,5 @@ ls $MONGO*
3938
pwd
4039

4140

41+
# Predefine the test server
42+
echo '{"STANDALONE": "mongodb:\/\/127.0.0.1:27017"}' > /tmp/PHONGO-SERVERS.json

.travis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,12 @@ before_install:
2424
- sudo apt-get install mongodb-org
2525
- sudo apt-get install gdb valgrind
2626
- sudo apt-get install cdbs debhelper build-essential python-lxml
27-
- sudo service mongod stop
28-
- sudo mongo-orchestration start
2927

3028
before_script:
3129
- ulimit -a
3230
- ulimit -c unlimited || true
3331
- "./.travis.scripts/compile.sh"
34-
- make test-bootstrap composer
32+
- mongo --eval 'tojson(db.runCommand({buildInfo:1}))'
3533

3634
notifications:
3735
email:

0 commit comments

Comments
 (0)