Browse Source

Adding activemq to travis install (#24)

* Adding activemq to travis install

* Hrm... doesn't seem to run as a service on Travis.

* Maybe I need to add -y to apt-get install

* Because you can't use apt on containers....

* ?

* Apparantly this is enough

* Adding php-stomp for good measure

* Maybe it's alredy there?

* Lets try this wtih PECL

* Trying to spoof a non-interactive pecl install...

* Canceling SSL since it's just a travis build.

* Final verification....

* Finallly!
pull/756/head
dannylamb 8 years ago committed by Nick Ruest
parent
commit
c341efabad
  1. 15
      .scripts/travis_setup.sh
  2. 5
      .travis.yml

15
.scripts/travis_setup.sh

@ -2,21 +2,6 @@
mysql -u root -e 'create database drupal;'
mysql -u root -e "GRANT ALL PRIVILEGES ON drupal.* To 'drupal'@'localhost' IDENTIFIED BY 'drupal';"
# Java (Oracle)
#sudo apt-get install -y software-properties-common
#sudo apt-get install -y python-software-properties
#sudo add-apt-repository -y ppa:webupd8team/java
#sudo apt-get update
#echo debconf shared/accepted-oracle-license-v1-1 select true | sudo debconf-set-selections
#echo debconf shared/accepted-oracle-license-v1-1 seen true | sudo debconf-set-selections
#sudo apt-get install -y oracle-java8-installer
#sudo update-java-alternatives -s java-8-oracle
#sudo apt-get install -y oracle-java8-set-default
#export JAVA_HOME=/usr/lib/jvm/java-8-oracle
# phpcpd
#sudo apt-get install -y phpcpd
cd $HOME
pear channel-discover pear.drush.org
pear upgrade --force Console_GetoptPlus

5
.travis.yml

@ -15,11 +15,16 @@ branches:
only:
- /^8.x/
addons:
apt:
packages:
- activemq
before_install:
- export ISLANDORA_DIR=$TRAVIS_BUILD_DIR
install:
- printf "no" | pecl install stomp
- $TRAVIS_BUILD_DIR/.scripts/travis_setup.sh
- composer install
- php vendor/bin/phpcs --config-set installed_paths vendor/drupal/coder/coder_sniffer

Loading…
Cancel
Save