-
Couldn't load subscription status.
- Fork 8k
Reduce build time on Travis CI #1898
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,7 +14,9 @@ else | |
| fi | ||
|
|
||
| if test "$PHP_READLINE" && test "$PHP_READLINE" != "no"; then | ||
| for i in $PHP_READLINE /usr/local /usr; do | ||
| dnl /opt/local macports prefix | ||
| dnl /usr/local/opt homebrew link prefix | ||
| for i in $PHP_READLINE /opt/local /usr/local/opt /usr/local /usr; do | ||
| test -f $i/include/readline/readline.h && READLINE_DIR=$i && break | ||
| done | ||
|
|
||
|
|
@@ -71,7 +73,7 @@ if test "$PHP_READLINE" && test "$PHP_READLINE" != "no"; then | |
|
|
||
| elif test "$PHP_LIBEDIT" != "no"; then | ||
|
|
||
| for i in $PHP_LIBEDIT /usr/local /usr; do | ||
| for i in $PHP_LIBEDIT /opt/local /usr/local/opt /usr/local /usr; do | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Looks like some unrelated changes got mixed up here. |
||
| test -f $i/include/editline/readline.h && LIBEDIT_DIR=$i && break | ||
| done | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,8 +9,9 @@ if [[ "$ENABLE_DEBUG" == 1 ]]; then | |
| else | ||
| DEBUG=""; | ||
| fi | ||
| ./buildconf --force | ||
| ./buildconf | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As @Tyrael pointed out in #1898 (comment), it seems that we do need |
||
| ./configure \ | ||
| --config-cache \ | ||
| --prefix=$HOME"/php-install" \ | ||
| --quiet \ | ||
| $DEBUG \ | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to https://docs.travis-ci.com/user/caching/#ccache-cache this is already part of
ccache: true.