summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Xu <alex_y_xu@yahoo.ca>2014-02-20 09:55:09 -0500
committerAlex Xu <alex_y_xu@yahoo.ca>2014-02-20 09:55:09 -0500
commit10856f2ded85f7747817f892d460d6b032fe62de (patch)
tree3ac5683cc38a59a4b955d16b5b40ac0970f4a203
parent304150ee82a1bff8330c0920f77cf822be51a4e5 (diff)
downloadhtml5ks-10856f2ded85f7747817f892d460d6b032fe62de.tar.xz
html5ks-10856f2ded85f7747817f892d460d6b032fe62de.zip
asdf
-rwxr-xr-x.travis.sh2
-rwxr-xr-xsetup.sh2
2 files changed, 4 insertions, 0 deletions
diff --git a/.travis.sh b/.travis.sh
index 4c3a777..4b1926b 100755
--- a/.travis.sh
+++ b/.travis.sh
@@ -4,6 +4,8 @@ set -e -x
case "$1" in
before_install)
+ sudo service postgresql stop
+ sudo service mysql stop
sudo apt-get update -q
curl http://nodejs.org/dist/node-latest.tar.gz | tar -xz
diff --git a/setup.sh b/setup.sh
index 2628341..39b4e08 100755
--- a/setup.sh
+++ b/setup.sh
@@ -2,6 +2,8 @@
if [ -z $MAKEOPTS ]; then
MAKEOPTS="-j`nproc`"
+ echo "No MAKEOPTS specified, setting $MAKEOPTS automatically."
+ printf "%siB free, approx 1GiB/core required (depending on ffmpeg settings)." "$(free -ht | tail -n 1 | awk '{print $4}')"
fi
set -e -x