Skip to content

Commit

Permalink
Fineract-707
Browse files Browse the repository at this point in the history
  • Loading branch information
vishwasbabu committed Mar 1, 2019
1 parent 0258d22 commit ab09ba8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,14 @@ jdk:
services:
- mysql

# Hardcoding system time as a temporary fix for running buggy test cases
before_install:
- echo "USE mysql;\nUPDATE user SET password=PASSWORD('mysql') WHERE user='root';\nFLUSH PRIVILEGES;\n" | mysql -u root
- mysql -u root -pmysql -e 'CREATE DATABASE IF NOT EXISTS `mifosplatform-tenants`;'
- mysql -u root -pmysql -e 'CREATE DATABASE IF NOT EXISTS `mifostenant-default`;'
- export TZ=Asia/Kolkata
- sudo service ntp stop
- sudo date --set="23 February 2019 01:02:03"

# https://docs.travis-ci.com/user/languages/java/#caching
before_cache:
Expand All @@ -43,6 +47,7 @@ cache:
# @see http://mrhaki.blogspot.ch/2013/05/gradle-goodness-show-more-information.html
# @see http://forums.gradle.org/gradle/topics/whats_new_in_gradle_1_1_test_logging for alternative
script:
- date
- ./gradlew --info licenseMain licenseTest licenseIntegrationTest test
- ./gradlew migrateTenantListDB -PdbName=mifosplatform-tenants
- ./gradlew migrateTenantDB -PdbName=mifostenant-default
Expand Down

0 comments on commit ab09ba8

Please sign in to comment.