Browse Source

Travis-ci set global varibale name

old-stable
Mitesh Shah 11 years ago
parent
commit
288acaab75
  1. 10
      .travis.yml

10
.travis.yml

@ -1,17 +1,21 @@
language: bash
env:
global:
- BRANCH_NAME=$TRAVIS_BRANCH
before_install:
before_script:
- sudo apt-get -qq purge mysql*
- sudo apt-get purge mysql*
script:
# Specify Git Username/Password So Installation Script Don't Prompt For Input
- sudo echo -e "[user]\n\tname = Mitesh Shah\n\temail = root@localhost" > ~/.gitconfig
- sudo echo "Travis Banch = $TRAVIS_BRANCH"
- (BRANCH_NAME=$TRAVIS_BRANCH; sudo bash install.sh)
- sudo echo "Travis Banch = $TRAVIS_BRANCH & EasyEngine BRANCH_NAME = $BRANCH_NAME"
- sudo bash install.sh
- sudo sed -i "s/htpasswduser.*/htpasswduser = easyengine/" /etc/easyengine/ee.conf
- sudo sed -i "s/htpasswdpass.*/htpasswdpass = easyengine/" /etc/easyengine/ee.conf

Loading…
Cancel
Save