From 3647bed3d63e2fbf7053374b10acf2ce31918b07 Mon Sep 17 00:00:00 2001 From: Aditya Inapurapu Date: Tue, 17 May 2016 13:06:55 -0700 Subject: [PATCH 01/26] Updated readme.md to cause travis ci to trigger a build --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4404155c..963f14c2 100644 --- a/README.md +++ b/README.md @@ -39,4 +39,5 @@ * **Google Group**: [https://groups.google.com/group/orangescrum-community-support](https://groups.google.com/group/orangescrum-community-support) * **Youtube**: [https://www.youtube.com/watch?v=4qCaP0TZuxU](https://www.youtube.com/watch?v=4qCaP0TZuxU) - \ No newline at end of file + + From 176af3a2f1e4172666853d920751f7e2bc7218a9 Mon Sep 17 00:00:00 2001 From: Aditya Inapurapu Date: Tue, 17 May 2016 15:04:15 -0700 Subject: [PATCH 02/26] Initial commit of Dockerfile for PHP container --- Dockerfile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..d091bc66 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +FROM php:5.5 + +MAINTAINER adityaii@gmail.com +# PHP Container for orangescrum + +# Clone orangescrum/orangescrum +RUN git clone https://github.com/adityai/orangescrum + +EXPOSE 8080 + +CMD cd $HOME && ls -ltr && echo "Work in progress" From 6021786181496ef457fd84b5b9cc2d8d4079d964 Mon Sep 17 00:00:00 2001 From: Aditya Inapurapu Date: Tue, 17 May 2016 20:55:53 -0700 Subject: [PATCH 03/26] Initial commit circle.yml --- circle.yml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 circle.yml diff --git a/circle.yml b/circle.yml new file mode 100644 index 00000000..bab8fef2 --- /dev/null +++ b/circle.yml @@ -0,0 +1,5 @@ +deployment: + dockerhub: + branch: master + commands: + - $DOCKER_HUB_TRIGGER From 750f9bc6ec4567bf3186ccd552ad7a0f017cdbb0 Mon Sep 17 00:00:00 2001 From: Aditya Inapurapu Date: Tue, 17 May 2016 21:35:27 -0700 Subject: [PATCH 04/26] random edit to trigger a build --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d091bc66..eb69ffe4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,4 +8,4 @@ RUN git clone https://github.com/adityai/orangescrum EXPOSE 8080 -CMD cd $HOME && ls -ltr && echo "Work in progress" +CMD cd $HOME && ls -ltr && echo "Work in progress." From 52b233d9dc4622ef1f1b0796d73537c6252068b6 Mon Sep 17 00:00:00 2001 From: Aditya Inapurapu Date: Tue, 17 May 2016 21:37:21 -0700 Subject: [PATCH 05/26] Replaced RUN with CMD --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index eb69ffe4..cf2dd67c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ MAINTAINER adityaii@gmail.com # PHP Container for orangescrum # Clone orangescrum/orangescrum -RUN git clone https://github.com/adityai/orangescrum +CMD git clone https://github.com/adityai/orangescrum EXPOSE 8080 From c3fca77e2ce4b235c04e3d09214bad5523368b3c Mon Sep 17 00:00:00 2001 From: Aditya Inapurapu Date: Tue, 17 May 2016 21:39:30 -0700 Subject: [PATCH 06/26] clone from orangescrum/orangescrum --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index cf2dd67c..c13af835 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ MAINTAINER adityaii@gmail.com # PHP Container for orangescrum # Clone orangescrum/orangescrum -CMD git clone https://github.com/adityai/orangescrum +CMD git clone https://github.com/orangescrum/orangescrum EXPOSE 8080 From 766de2af0a1c2cf648ea489bdb152533febd71ea Mon Sep 17 00:00:00 2001 From: Aditya Inapurapu Date: Wed, 18 May 2016 12:00:26 -0700 Subject: [PATCH 07/26] Copying Dockerfile content from another pull on orangescrum/orangescrum --- Dockerfile | 88 ++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 86 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index c13af835..c571f14e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,6 +6,90 @@ MAINTAINER adityaii@gmail.com # Clone orangescrum/orangescrum CMD git clone https://github.com/orangescrum/orangescrum -EXPOSE 8080 - CMD cd $HOME && ls -ltr && echo "Work in progress." + + +# Install the relevant packages +#RUN apt-get install vim apache2 libapache2-mod-php5 php5-cli php5-mysqlnd curl php5-curl php5-mcrypt -y + +# Enable the php mod we just installed +RUN a2enmod php5 + +# expose port 80 and 443 for the web requests +EXPOSE 80 +EXPOSE 443 + + +###### Update the php INI settings ######### + +# Increase php's max allowed memory size +RUN sed -i 's;memory_limit = .*;memory_limit = -1;' /etc/php5/apache2/php.ini +RUN sed -i 's;memory_limit = .*;memory_limit = -1;' /etc/php5/cli/php.ini + +RUN sed -i 's;display_errors = .*;display_errors = Off;' /etc/php5/apache2/php.ini + +# Change apache php to allow larger uploads/POSTs +RUN sed -i 's;post_max_size = .*;post_max_size = 4000M;' /etc/php5/apache2/php.ini +RUN sed -i 's;upload_max_filesize = .*;upload_max_filesize = 2000M;' /etc/php5/apache2/php.ini + +# Set the max execution time +RUN sed -i 's;max_execution_time = .*;max_execution_time = 300;' /etc/php5/apache2/php.ini +RUN sed -i 's;max_execution_time = .*;max_execution_time = 300;' /etc/php5/cli/php.ini + +# This is also needed for execution time +RUN sed -i 's;max_input_time = .*;max_input_time = 300;' /etc/php5/apache2/php.ini + + +####### END of updating php INI ######## +######################################## + +# Manually set the apache environment variables in order to get apache to work immediately. +ENV APACHE_RUN_USER www-data +ENV APACHE_RUN_GROUP www-data +ENV APACHE_LOG_DIR /var/log/apache2 + +# It appears that the new apache requires these env vars as well +ENV APACHE_LOCK_DIR /var/lock/apache2 +ENV APACHE_PID_FILE /var/run/apache2/apache2.pid + +# Set up url rewrite ability +RUN a2enmod rewrite +RUN php5enmod mcrypt + +# Install the cron service +RUN apt-get install cron -y + +# Add our websites files to the default apache directory (/var/www) +# This should be as close to the last step as possible for faster rebuilds +ADD src /var/www/orangescrum + +# Update our apache sites available with the config we created +ADD src/docker/apache-config.conf /etc/apache2/sites-enabled/000-default.conf + +# Configure apache to use a newly generate ssl key +# or generate one if there is no key in the files. +# This MUST go after we have added the project files to the container. +RUN /bin/bash /var/www/orangescrum/docker/create-ssl-key.sh + +# Use the crontab file. +RUN crontab /var/www/orangescrum/docker/crons.conf + +# Configure the volume +VOLUME /data +RUN mv /var/www/orangescrum/app/webroot/files /data/files +RUN ln -s /data/files /var/www/orangescrum/app/webroot/files +RUN mv /var/www/orangescrum/app/Config/constants.php /data/constants.php +RUN ln -s /data/constants.php /var/www/orangescrum/app/Config/constants.php +RUN mv /var/www/orangescrum/app/Config/database.php /data/database.php +RUN ln -s /data/database.php /var/www/orangescrum/app/Config/database.php + +# Set general permissions +RUN chown root:www-data -R /var/www +RUN chmod 750 -R /var/www/orangescrum + +# If we need some directories to be writeable to for uploads, place them here. +RUN chmod 770 -R /var/www/orangescrum/app/tmp +RUN chmod 770 -R /var/www/orangescrum/app/webroot + +# Execute the containers startup script which will start many processes/services +CMD ["/bin/bash", "/var/www/orangescrum/docker/startup.sh"] From 4c58140256b6dc74342927ebc02a4be34fb1b755 Mon Sep 17 00:00:00 2001 From: Aditya Inapurapu Date: Wed, 18 May 2016 12:01:26 -0700 Subject: [PATCH 08/26] Switching git clone back to adityai/orangescrum --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c571f14e..1ef94929 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ MAINTAINER adityaii@gmail.com # PHP Container for orangescrum # Clone orangescrum/orangescrum -CMD git clone https://github.com/orangescrum/orangescrum +CMD git clone https://github.com/adityai/orangescrum CMD cd $HOME && ls -ltr && echo "Work in progress." From 6eedbec1f9e3a3e4be26adcb5220cc26cddb77fb Mon Sep 17 00:00:00 2001 From: Aditya Inapurapu Date: Wed, 18 May 2016 12:04:40 -0700 Subject: [PATCH 09/26] Uncommented install relevant packages --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1ef94929..2e56e14b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ CMD cd $HOME && ls -ltr && echo "Work in progress." # Install the relevant packages -#RUN apt-get install vim apache2 libapache2-mod-php5 php5-cli php5-mysqlnd curl php5-curl php5-mcrypt -y +RUN apt-get install vim apache2 libapache2-mod-php5 php5-cli php5-mysqlnd curl php5-curl php5-mcrypt -y # Enable the php mod we just installed RUN a2enmod php5 From 403967a48829925e66e26f72ed242fbc5df1bf1e Mon Sep 17 00:00:00 2001 From: Aditya Inapurapu Date: Wed, 18 May 2016 12:46:12 -0700 Subject: [PATCH 10/26] Added apt-get update --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 2e56e14b..6b290d56 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,6 +8,8 @@ CMD git clone https://github.com/adityai/orangescrum CMD cd $HOME && ls -ltr && echo "Work in progress." +# apt-get update +RUN apt-get update # Install the relevant packages RUN apt-get install vim apache2 libapache2-mod-php5 php5-cli php5-mysqlnd curl php5-curl php5-mcrypt -y From 939ce946106767bec8a6818350d9bc3b9654f567 Mon Sep 17 00:00:00 2001 From: Aditya Inapurapu Date: Wed, 18 May 2016 12:55:28 -0700 Subject: [PATCH 11/26] Starting over with fewer steps in Dockerfile --- Dockerfile | 39 +-------------------------------------- 1 file changed, 1 insertion(+), 38 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6b290d56..f93232e3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ CMD cd $HOME && ls -ltr && echo "Work in progress." RUN apt-get update # Install the relevant packages -RUN apt-get install vim apache2 libapache2-mod-php5 php5-cli php5-mysqlnd curl php5-curl php5-mcrypt -y +RUN apt-get install libapache2-mod-php5 php5-cli php5-mysqlnd curl php5-curl php5-mcrypt cron -y # Enable the php mod we just installed RUN a2enmod php5 @@ -58,40 +58,3 @@ ENV APACHE_PID_FILE /var/run/apache2/apache2.pid RUN a2enmod rewrite RUN php5enmod mcrypt -# Install the cron service -RUN apt-get install cron -y - -# Add our websites files to the default apache directory (/var/www) -# This should be as close to the last step as possible for faster rebuilds -ADD src /var/www/orangescrum - -# Update our apache sites available with the config we created -ADD src/docker/apache-config.conf /etc/apache2/sites-enabled/000-default.conf - -# Configure apache to use a newly generate ssl key -# or generate one if there is no key in the files. -# This MUST go after we have added the project files to the container. -RUN /bin/bash /var/www/orangescrum/docker/create-ssl-key.sh - -# Use the crontab file. -RUN crontab /var/www/orangescrum/docker/crons.conf - -# Configure the volume -VOLUME /data -RUN mv /var/www/orangescrum/app/webroot/files /data/files -RUN ln -s /data/files /var/www/orangescrum/app/webroot/files -RUN mv /var/www/orangescrum/app/Config/constants.php /data/constants.php -RUN ln -s /data/constants.php /var/www/orangescrum/app/Config/constants.php -RUN mv /var/www/orangescrum/app/Config/database.php /data/database.php -RUN ln -s /data/database.php /var/www/orangescrum/app/Config/database.php - -# Set general permissions -RUN chown root:www-data -R /var/www -RUN chmod 750 -R /var/www/orangescrum - -# If we need some directories to be writeable to for uploads, place them here. -RUN chmod 770 -R /var/www/orangescrum/app/tmp -RUN chmod 770 -R /var/www/orangescrum/app/webroot - -# Execute the containers startup script which will start many processes/services -CMD ["/bin/bash", "/var/www/orangescrum/docker/startup.sh"] From d8462254b073cf182fcd8b5277807f4ae3948031 Mon Sep 17 00:00:00 2001 From: Aditya Inapurapu Date: Wed, 18 May 2016 13:14:21 -0700 Subject: [PATCH 12/26] Install pear and phing --- circle.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/circle.yml b/circle.yml index bab8fef2..b240ca64 100644 --- a/circle.yml +++ b/circle.yml @@ -1,3 +1,10 @@ +## Customize dependencies +dependencies: + pre: + - apt-get install pear + - pear channel-discover pear.phing.info + - pear install [--alldeps] phing/phing + deployment: dockerhub: branch: master From 37a1876aea42b36aaf9e7bfb9c966f979f44227e Mon Sep 17 00:00:00 2001 From: Aditya Inapurapu Date: Wed, 18 May 2016 13:17:18 -0700 Subject: [PATCH 13/26] Removed apt-get and added machine section --- circle.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/circle.yml b/circle.yml index b240ca64..2cd94ca9 100644 --- a/circle.yml +++ b/circle.yml @@ -1,7 +1,10 @@ +machine: + php: + version: 5.5.11 + ## Customize dependencies dependencies: pre: - - apt-get install pear - pear channel-discover pear.phing.info - pear install [--alldeps] phing/phing From db9d4a4c9063bf22dd990d3d8ded3cc636e884ab Mon Sep 17 00:00:00 2001 From: Aditya Inapurapu Date: Wed, 18 May 2016 13:22:52 -0700 Subject: [PATCH 14/26] Install cakephp/Phing_d51PearPkg2Task --- circle.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/circle.yml b/circle.yml index 2cd94ca9..5962ec94 100644 --- a/circle.yml +++ b/circle.yml @@ -6,7 +6,8 @@ machine: dependencies: pre: - pear channel-discover pear.phing.info - - pear install [--alldeps] phing/phing + - pear install phing/phing + - pear install cakephp/Phing_d51PearPkg2Task deployment: dockerhub: From bbdd2370d94e3d60a235da621fb2555c209694cf Mon Sep 17 00:00:00 2001 From: Aditya Inapurapu Date: Wed, 18 May 2016 13:24:50 -0700 Subject: [PATCH 15/26] Added pear channel-discover pear.cakephp.org --- circle.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/circle.yml b/circle.yml index 5962ec94..263662d3 100644 --- a/circle.yml +++ b/circle.yml @@ -6,6 +6,7 @@ machine: dependencies: pre: - pear channel-discover pear.phing.info + - pear channel-discover pear.cakephp.org - pear install phing/phing - pear install cakephp/Phing_d51PearPkg2Task From 79f796b6053be23123b07298d420e287632a5b17 Mon Sep 17 00:00:00 2001 From: Aditya Inapurapu Date: Wed, 18 May 2016 13:26:36 -0700 Subject: [PATCH 16/26] Added pear.cakephp.org/Phing_d51PearPkg2Task-0.6.5 --- circle.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/circle.yml b/circle.yml index 263662d3..2c58a1ea 100644 --- a/circle.yml +++ b/circle.yml @@ -7,6 +7,7 @@ dependencies: pre: - pear channel-discover pear.phing.info - pear channel-discover pear.cakephp.org + - pear channel-discover pear.cakephp.org/Phing_d51PearPkg2Task-0.6.5 - pear install phing/phing - pear install cakephp/Phing_d51PearPkg2Task From 817ac45cefe887a4d1f06a0e70429bf4e9e581e0 Mon Sep 17 00:00:00 2001 From: Aditya Inapurapu Date: Wed, 18 May 2016 13:30:45 -0700 Subject: [PATCH 17/26] Trying channel://pear.cakephp.org/Phing_d51PearPkg2Task-0.6.5 --- circle.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circle.yml b/circle.yml index 2c58a1ea..c2ed83ab 100644 --- a/circle.yml +++ b/circle.yml @@ -7,7 +7,7 @@ dependencies: pre: - pear channel-discover pear.phing.info - pear channel-discover pear.cakephp.org - - pear channel-discover pear.cakephp.org/Phing_d51PearPkg2Task-0.6.5 + - pear channel-discover channel://pear.cakephp.org/Phing_d51PearPkg2Task-0.6.5 - pear install phing/phing - pear install cakephp/Phing_d51PearPkg2Task From 37c90bee54d2864e8b1e5795b1c007a891ec0fb8 Mon Sep 17 00:00:00 2001 From: Aditya Inapurapu Date: Wed, 18 May 2016 13:32:02 -0700 Subject: [PATCH 18/26] Trying pear install cakephp/Phing_d51PearPkg2Task-0.6.5 --- circle.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/circle.yml b/circle.yml index c2ed83ab..d01f34c4 100644 --- a/circle.yml +++ b/circle.yml @@ -7,9 +7,8 @@ dependencies: pre: - pear channel-discover pear.phing.info - pear channel-discover pear.cakephp.org - - pear channel-discover channel://pear.cakephp.org/Phing_d51PearPkg2Task-0.6.5 - pear install phing/phing - - pear install cakephp/Phing_d51PearPkg2Task + - pear install cakephp/Phing_d51PearPkg2Task-0.6.5 deployment: dockerhub: From b7cce92ef145e96a3ba729208624c9b1bcbcf6be Mon Sep 17 00:00:00 2001 From: Aditya Inapurapu Date: Wed, 18 May 2016 13:33:51 -0700 Subject: [PATCH 19/26] Installing with --alldeps --- circle.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circle.yml b/circle.yml index d01f34c4..b1c93d3d 100644 --- a/circle.yml +++ b/circle.yml @@ -8,7 +8,7 @@ dependencies: - pear channel-discover pear.phing.info - pear channel-discover pear.cakephp.org - pear install phing/phing - - pear install cakephp/Phing_d51PearPkg2Task-0.6.5 + - pear install --alldeps cakephp/Phing_d51PearPkg2Task-0.6.5 deployment: dockerhub: From 05ff7daa740f232de5f8fd85a8f43a21a98b84d2 Mon Sep 17 00:00:00 2001 From: Aditya Inapurapu Date: Wed, 18 May 2016 13:36:16 -0700 Subject: [PATCH 20/26] Trying without 0.6.5 --- circle.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circle.yml b/circle.yml index b1c93d3d..2a5895fe 100644 --- a/circle.yml +++ b/circle.yml @@ -8,7 +8,7 @@ dependencies: - pear channel-discover pear.phing.info - pear channel-discover pear.cakephp.org - pear install phing/phing - - pear install --alldeps cakephp/Phing_d51PearPkg2Task-0.6.5 + - pear install --alldeps cakephp/Phing_d51PearPkg2Task deployment: dockerhub: From d4fa8b16fbbb0f47877911d7b049958c2bb4d0b0 Mon Sep 17 00:00:00 2001 From: Aditya Inapurapu Date: Thu, 19 May 2016 13:20:40 -0700 Subject: [PATCH 21/26] Changed to alpha version --- circle.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circle.yml b/circle.yml index 2a5895fe..6a977ca1 100644 --- a/circle.yml +++ b/circle.yml @@ -8,7 +8,7 @@ dependencies: - pear channel-discover pear.phing.info - pear channel-discover pear.cakephp.org - pear install phing/phing - - pear install --alldeps cakephp/Phing_d51PearPkg2Task + - pear install --alldeps cakephp/Phing_d51PearPkg2Task-alpha deployment: dockerhub: From 31376907e2fdf29bad935f6b4ec1706b0e3b7456 Mon Sep 17 00:00:00 2001 From: Aditya Inapurapu Date: Thu, 19 May 2016 13:30:57 -0700 Subject: [PATCH 22/26] Updated travis yml to use php 5.5.11 Errors with installing php 5.2, 5.3, 5.4 at build time --- .travis.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6f1f85c2..23f1d3f2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,7 @@ language: php php: - - 5.2 - - 5.3 - - 5.4 + - 5.5.11 env: - DB=mysql @@ -108,4 +106,4 @@ script: - ./lib/Cake/Console/cake test core AllTests --stderr notifications: - email: false \ No newline at end of file + email: false From 07c52f9363a27e2fc153f746af103f50ea30b1f8 Mon Sep 17 00:00:00 2001 From: Aditya Inapurapu Date: Thu, 19 May 2016 13:38:08 -0700 Subject: [PATCH 23/26] Install php apache using travis yml --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 23f1d3f2..4770dd40 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,11 @@ env: - DB=mysql - DB=pgsql - DB=sqlite - + +before_install: + - sudo apt-get -qq update + - sudo apt-get install -y apache2 php5-common libapache2-mod-php5 php5-cli + before_script: - sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'CREATE DATABASE cakephp_test;'; fi" - sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'CREATE DATABASE cakephp_test2;'; fi" From 4723f715508a8750103ccb6bd81572d60c9eaf7d Mon Sep 17 00:00:00 2001 From: Aditya Inapurapu Date: Thu, 19 May 2016 14:55:04 -0700 Subject: [PATCH 24/26] Updated php version to 5.5 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4770dd40..be08b77e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ language: php php: - - 5.5.11 + - 5.5 env: - DB=mysql From a87ce0f0c5172ab8357837cbeda68d56b3a4b7a1 Mon Sep 17 00:00:00 2001 From: Aditya Inapurapu Date: Thu, 19 May 2016 15:02:09 -0700 Subject: [PATCH 25/26] Updated travis yml to install npm, node and pear --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index be08b77e..f2ee3117 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,9 @@ env: before_install: - sudo apt-get -qq update - - sudo apt-get install -y apache2 php5-common libapache2-mod-php5 php5-cli + - sudo apt-get install -y apache2 php5-common libapache2-mod-php5 php5-cli npm nodejs + - wget http://pear.php.net/go-pear.phar + - sudo php go-pear.phar before_script: - sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'CREATE DATABASE cakephp_test;'; fi" From c8cfad5f345a55307127bdc2d1dcf678788208ca Mon Sep 17 00:00:00 2001 From: Aditya Inapurapu Date: Thu, 19 May 2016 15:47:35 -0700 Subject: [PATCH 26/26] Update travis yml to use apt to install pear --- .travis.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index f2ee3117..ac5a6fdd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,10 +10,8 @@ env: before_install: - sudo apt-get -qq update - - sudo apt-get install -y apache2 php5-common libapache2-mod-php5 php5-cli npm nodejs - - wget http://pear.php.net/go-pear.phar - - sudo php go-pear.phar - + - sudo apt-get install -y apache2 php5-common libapache2-mod-php5 php5-cli npm nodejs php5-dev php-pear + before_script: - sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'CREATE DATABASE cakephp_test;'; fi" - sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'CREATE DATABASE cakephp_test2;'; fi"