Browse Source

More Travis testing

Steven Smith 9 years ago
parent
commit
651f042af0
3 changed files with 8 additions and 2 deletions
  1. 7 0
      .travis.yml
  2. 1 1
      config/travis_setup.sh
  3. 0 1
      frameworks/Java/gemini/setup.sh

+ 7 - 0
.travis.yml

@@ -190,9 +190,16 @@ install:
   #   e.g. setup databases, users, etc
   - ./config/travis_setup.sh
 
+services:
+  - mysql
+  - postgresql
+
 addons:
   postgresql: "9.3"
 
+before_script:
+  - mysql -uroot < config/create.sql
+
 script:
   # Pick one test in this directory and verify
   - time ./toolset/run-ci.py verify "$TESTDIR"

+ 1 - 1
config/travis_setup.sh

@@ -71,7 +71,7 @@ sudo mysqladmin -u root password secret
 sudo mv /etc/mysql/my.cnf /etc/mysql/my.cnf.orig
 sudo mv config/my.cnf /etc/mysql/my.cnf
 sudo restart mysql
-mysql -uroot -psecret < config/create.sql
+#mysql -uroot -psecret < config/create.sql
 
 # Setup Postgres
 echo "Removing Postgres 9.1 from Travis-CI"

+ 0 - 1
frameworks/Java/gemini/setup.sh

@@ -55,4 +55,3 @@ echo "EmailExceptionHandler.ToEmailAddress = [email protected]" >> $configur
 echo "EmailExceptionHandler.FromEmailAddress = [email protected]" >> $configurationFile
 
 exit 0
-