From 5fb68194e37d45887295ee2bbf9b175f8239f974 Mon Sep 17 00:00:00 2001 From: Rafal Korytkowski Date: Fri, 8 Dec 2017 13:44:45 +0100 Subject: [PATCH] Adding openmrs 2.1.0 CIEL export --- .travis.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index fc4f4db..cbdcd9e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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