-
Notifications
You must be signed in to change notification settings - Fork 37
/
circle.yml
23 lines (20 loc) · 1.02 KB
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
dependencies:
pre:
- sudo apt-get update && sudo apt-get install -y libgc-dev libboost1.55-all-dev libxerces-c2-dev
- touch src/generated/*
# If the timestamps are wrong here, they'll be rebuilt, but we don't have the right versions
- touch Makefile.in configure Makefile
- touch libltdl/aclocal.m4 libltdl/configure libltdl/Makefile.in libltdl/Makefile
# Now PHP
- wget http://museum.php.net/php5/php-5.2.17.tar.gz
- tar zxvf php-5.2.17.tar.gz
- cd php-5.2.17 && CFLAGS="-O0 -ggdb3" ./configure --enable-debug --enable-maintainer-zts --enable-embed
- cd php-5.2.17 && wget http://storage.googleapis.com/google-code-attachments/php52-backports/issue-16/comment-2/libxml29_compat.patch && patch -p0 < libxml29_compat.patch
- cd php-5.2.17 && make -j 4
override:
- ./configure --with-xerces --disable-static --prefix=`pwd`/install_dir --with-php=`pwd`/php.5.2.17
- make -j 4
- make install
test:
override:
- php-5.2.17/sapi/cli/php -Cq test/framework/driver.php -p -q -i