Permalink
Browse files

Travis: simplify the lump of programs installed all at once, for speed.

  • Loading branch information...
1 parent aa0dd18 commit 3f616f707fdcd35521c2a88a89a6c6c3b01d50b5 @tchalvak tchalvak committed Jul 15, 2013
Showing with 5 additions and 14 deletions.
  1. +3 −12 scripts/build/functions.sh
  2. +2 −2 scripts/build/install.sh
View
@@ -58,18 +58,9 @@ function check_package {
}
function ensure_system {
- check_package apache2
- check_package php5
- check_package php5-curl
- check_package php5-pgsql
- check_package postgresql
- check_package postgresql-contrib
- check_package libpq-dev
- check_package perl
- check_package liblingua-en-inflect-perl
- check_package smarty
- check_package libpcre3-dev
- check_package openssl
+ echo "Installing various packages, apache, php, etc."
+ sudo apt-get install apache2 php5 php5-curl openssl php5-pgsql postgresql postgresql-contrib libpq-dev smarty
+ sudo apt-get install perl liblingua-en-inflect-perl libpcre3-dev
}
function ensure_phar {
View
@@ -36,7 +36,7 @@ else
fi
# Full install scripts started...
-say_loud "Checking for system depedencies"
+say_loud "Checking for system dependencies"
ensure_system
@@ -49,7 +49,7 @@ if [ "CREATE DATABASE" != "$DATABASE_CREATED" ]; then
fi
-say_loud "Checking for project depedencies"
+say_loud "Checking for project dependencies"
set -e
set_webserver $DBUSER $DBNAME
ensure_phar

0 comments on commit 3f616f7

Please sign in to comment.