Skip to content
Browse files

Removed CUBRID from yml to be nicer to their servers, only test when …

…needed.
  • Loading branch information...
1 parent afff209 commit bb6c76839af56d40049ebf3a218d947e309a5bdc @gabordemooij committed
Showing with 25 additions and 10 deletions.
  1. +25 −0 .travis-cub.yml
  2. +0 −10 .travis.yml
View
25 .travis-cub.yml
@@ -0,0 +1,25 @@
+language: php
+php:
+ - 5.3
+ - 5.4
+
+before_script:
+ - echo 'yes' | sudo add-apt-repository ppa:cubrid/cubrid
+ - sudo apt-get update
+ - sudo apt-get install cubrid
+ - /etc/profile.d/cubrid.sh
+ - sudo apt-get install cubrid-demodb
+ - sudo apt-get install php5-cubrid
+ - cat /etc/profile.d/cubrid.sh
+ - echo '/opt/cubrid/' | pecl install pdo_cubrid
+ - sudo echo "extension=pdo_cubrid.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
+ - /etc/profile.d/cubrid.sh
+ - touch /tmp/oodb.db
+ - mysql -e 'create database oodb;'
+ - psql -c 'create database oodb;' -U postgres
+ - php replica.php
+ - cp rb.php testing/cli/testcontainer/rb.php
+ - cd testing/cli
+
+
+script: ./startnc.sh
View
10 .travis.yml
@@ -4,16 +4,6 @@ php:
- 5.4
before_script:
- - echo 'yes' | sudo add-apt-repository ppa:cubrid/cubrid
- - sudo apt-get update
- - sudo apt-get install cubrid
- - /etc/profile.d/cubrid.sh
- - sudo apt-get install cubrid-demodb
- - sudo apt-get install php5-cubrid
- - cat /etc/profile.d/cubrid.sh
- - echo '/opt/cubrid/' | pecl install pdo_cubrid
- - sudo echo "extension=pdo_cubrid.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
- - /etc/profile.d/cubrid.sh
- touch /tmp/oodb.db
- mysql -e 'create database oodb;'
- psql -c 'create database oodb;' -U postgres

0 comments on commit bb6c768

Please sign in to comment.
Something went wrong with that request. Please try again.