Browse Source

Another attempt with a different approach.

...  Try to add a symlink to somewhere already on the PATH, hurray!
pull/458/head
adam-vessey 11 years ago
parent
commit
6fbf8d46a4
  1. 4
      tests/scripts/travis_setup.sh

4
tests/scripts/travis_setup.sh

@ -1,6 +1,5 @@
#!/bin/bash #!/bin/bash
echo $PATH
mysql -u root -e 'create database drupal;' mysql -u root -e 'create database drupal;'
mysql -u root -e "create database fedora;" mysql -u root -e "create database fedora;"
mysql -u root -e "GRANT ALL PRIVILEGES ON fedora.* To 'fedora'@'localhost' IDENTIFIED BY 'fedora';" mysql -u root -e "GRANT ALL PRIVILEGES ON fedora.* To 'fedora'@'localhost' IDENTIFIED BY 'fedora';"
@ -20,8 +19,7 @@ pear channel-discover pear.phpqatools.org
pear channel-discover pear.netpirates.net pear channel-discover pear.netpirates.net
pear install pear/PHP_CodeSniffer-1.4.8 pear install pear/PHP_CodeSniffer-1.4.8
pear install pear.phpunit.de/phpcpd pear install pear.phpunit.de/phpcpd
export PATH="$HOME/.composer/vendor/bin:$PATH" sudo ln -s $HOME/.composer/vendor/bin/drush /usr/local/sbin
echo 'export PATH="$HOME/.composer/vendor/bin:$PATH"' >> $HOME/.bashrc
composer global require --prefer-source drush/drush:6.x composer global require --prefer-source drush/drush:6.x
phpenv rehash phpenv rehash
drush dl --yes drupal drush dl --yes drupal

Loading…
Cancel
Save