Skip to content

Commit

Permalink
Adding openmrs 2.1.0 CIEL export
Browse files Browse the repository at this point in the history
  • Loading branch information
rkorytkowski authored Dec 8, 2017
1 parent b3b3632 commit 5fb6819
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,23 @@ jdk:
services:
- mysql

before_install:
- mysql -e "CREATE DATABASE IF NOT EXISTS liquibaserunner CHARACTER SET utf8 COLLATE utf8_general_ci;" -uroot

script:
- mysql -e "CREATE DATABASE IF NOT EXISTS liquibaserunner CHARACTER SET utf8 COLLATE utf8_general_ci;" -uroot
- mvn install -Dtest=UpgradeMVPTest -DfailIfNoTests=false -Dopenmrs.version="2.0.1" -Ddb.user="root" -Ddb.password="" -Dmvp.file="$TRAVIS_BUILD_DIR/openmrs_concepts_1_6.zip"
- mysqldump -uroot liquibaserunner > openmrs_concepts_2_0.sql
- zip openmrs_concepts_2_0.zip openmrs_concepts_2_0.sql

- mysql -e "DROP DATABASE liquibaserunner;" -uroot
- mysql -e "CREATE DATABASE IF NOT EXISTS liquibaserunner CHARACTER SET utf8 COLLATE utf8_general_ci;" -uroot
- mvn install -Dtest=UpgradeMVPTest -DfailIfNoTests=false -Dopenmrs.version="2.1.0" -Ddb.user="root" -Ddb.password="" -Dmvp.file="$TRAVIS_BUILD_DIR/openmrs_concepts_1_6.zip"
- mysqldump -uroot liquibaserunner > openmrs_concepts_2_1.sql
- zip openmrs_concepts_2_1.zip openmrs_concepts_2_1.sql

deploy:
provider: releases
api_key: $GITHUB_OAUTH_TOKEN
file: "openmrs_concepts_2_0.zip"
file:
- "openmrs_concepts_2_0.zip"
- "openmrs_concepts_2_1.zip"
skip_cleanup: true
on:
tags: true

0 comments on commit 5fb6819

Please sign in to comment.