diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-01-21 08:59:58 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-01-21 09:29:14 +0100 |
commit | 3ee1582e60cbebb70f6e4b932e337a59a8517580 (patch) | |
tree | 88784684576db7a2acba60530cc1843360ddabe7 /build.xml | |
parent | eff6a406f3eb67063ee8db660bb85c80472c7d95 (diff) | |
download | wallabag-3ee1582e60cbebb70f6e4b932e337a59a8517580.tar.gz wallabag-3ee1582e60cbebb70f6e4b932e337a59a8517580.tar.zst wallabag-3ee1582e60cbebb70f6e4b932e337a59a8517580.zip |
Disable xdebug all the time
Use travis_wait to avoid travis timeout on `composer up`
Jump to `memory_limit -1` for `composer up`
Also, since composer.lock is ignored, we can remove it.
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 16 |
1 files changed, 4 insertions, 12 deletions
@@ -1,22 +1,14 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <project name="wallabag" default="build"> | 2 | <project name="wallabag" default="build"> |
3 | <target name="build" depends="clean,composer,prepare,phpunit"/> | 3 | <target name="build" depends="clean,prepare,phpunit"/> |
4 | <target name="prepare-mysql" depends="clean,composer,db_mysql,prepare"/> | 4 | <target name="prepare-mysql" depends="clean,db_mysql,prepare"/> |
5 | <target name="prepare-sqlite" depends="clean,composer,db_sqlite,prepare"/> | 5 | <target name="prepare-sqlite" depends="clean,db_sqlite,prepare"/> |
6 | <target name="prepare-pgsql" depends="clean,composer,db_pgsql,prepare"/> | 6 | <target name="prepare-pgsql" depends="clean,db_pgsql,prepare"/> |
7 | 7 | ||
8 | <target name="clean" description="Cleanup build artifacts"> | 8 | <target name="clean" description="Cleanup build artifacts"> |
9 | <delete dir="${basedir}/var/cache"/> | 9 | <delete dir="${basedir}/var/cache"/> |
10 | </target> | 10 | </target> |
11 | 11 | ||
12 | <target name="composer" description="Install deps using Composer"> | ||
13 | <exec executable="composer"> | ||
14 | <arg value="up"/> | ||
15 | <arg value="--no-interaction"/> | ||
16 | <arg value="--no-progress"/> | ||
17 | </exec> | ||
18 | </target> | ||
19 | |||
20 | <target name="prepare" description="Prepare for build"> | 12 | <target name="prepare" description="Prepare for build"> |
21 | <exec executable="php"> | 13 | <exec executable="php"> |
22 | <arg value="${basedir}/bin/console"/> | 14 | <arg value="${basedir}/bin/console"/> |