Skip to content

Commit

Permalink
Travis before script: use PORT variable (align with master)
Browse files Browse the repository at this point in the history
  • Loading branch information
dregad committed May 2, 2014
1 parent 48f0fb2 commit 0583937
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/travis_before_script.sh
Expand Up @@ -5,6 +5,7 @@

# Global variables initialization
HOSTNAME=localhost
PORT=80
MANTIS_DB_NAME=bugtracker
MANTIS_BOOTSTRAP=tests/bootstrap.php

Expand Down Expand Up @@ -58,7 +59,7 @@ sudo apt-get update -qq
sudo apt-get install -qq apache2 libapache2-mod-php5 php5-mysql php5-pgsql

cat <<-EOF | sudo tee /etc/apache2/sites-available/default >/dev/null
<VirtualHost *:80>
<VirtualHost *:$PORT>
DocumentRoot $PWD
<Directory />
Options FollowSymLinks
Expand Down

0 comments on commit 0583937

Please sign in to comment.