Browse Source

Merge pull request #310 from jonathangreen/travis

Some minor travis changes
pull/312/merge
Jonathan Green 12 years ago
parent
commit
accea8596c
  1. 1
      .travis.yml
  2. 2
      tests/travis_setup.sh

1
.travis.yml

@ -8,6 +8,7 @@ branches:
env: env:
- FEDORA_VERSION="3.5" - FEDORA_VERSION="3.5"
before_install: before_install:
- export ISLANDORA_DIR=$TRAVIS_BUILD_DIR
- $TRAVIS_BUILD_DIR/tests/travis_setup.sh - $TRAVIS_BUILD_DIR/tests/travis_setup.sh
- cd $HOME/drupal-* - cd $HOME/drupal-*
script: script:

2
tests/travis_setup.sh

@ -22,7 +22,7 @@ drush dl --yes drupal
cd drupal-* cd drupal-*
drush si standard --db-url=mysql://drupal:drupal@localhost/drupal --yes drush si standard --db-url=mysql://drupal:drupal@localhost/drupal --yes
drush runserver --php-cgi=$HOME/.phpenv/shims/php-cgi localhost:8081 &>/dev/null & drush runserver --php-cgi=$HOME/.phpenv/shims/php-cgi localhost:8081 &>/dev/null &
ln -s $TRAVIS_BUILD_DIR sites/all/modules/islandora ln -s $ISLANDORA_DIR sites/all/modules/islandora
mv sites/all/modules/islandora/tests/travis.test_config.ini sites/all/modules/islandora/tests/test_config.ini mv sites/all/modules/islandora/tests/travis.test_config.ini sites/all/modules/islandora/tests/test_config.ini
mkdir sites/all/libraries mkdir sites/all/libraries
ln -s $HOME/tuque sites/all/libraries/tuque ln -s $HOME/tuque sites/all/libraries/tuque

Loading…
Cancel
Save