From eaff7ded09c1aae6a0a1ebe3a1ff2d93dad742e3 Mon Sep 17 00:00:00 2001 From: Richard West Date: Fri, 18 Jan 2019 21:41:00 -0500 Subject: [PATCH] TEMPORARY changes to Travis to run the 'units' branch of RMG-database Following the instructions at https://github.com/ReactionMechanismGenerator/RMG-Py/wiki/Simultaneous-Update-of-RMG-Py-and-RMG-database This commit should be removed before merging to master. --- .travis.yml | 2 +- deploy.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7407fd804d..c28bf18366 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,7 +35,7 @@ jobs: - stage: test install: # Clone RMG-database - - git clone https://github.com/ReactionMechanismGenerator/RMG-database.git + - git clone -b units https://github.com/ReactionMechanismGenerator/RMG-database.git - cd RMG-Py - conda env create -q -f environment_linux.yml - source activate rmg_env diff --git a/deploy.sh b/deploy.sh index bb77a0f9fc..039be7ccb0 100644 --- a/deploy.sh +++ b/deploy.sh @@ -48,7 +48,8 @@ git checkout $RMGTESTSBRANCH # create an empty commit with the SHA-ID of the # tested commit of the RMG-Py branch: -git commit --allow-empty -m rmgpy-$REV +DB_DEPLOY_BRANCH="units" +git commit --allow-empty -m rmgpydb-$REV-${DB_DEPLOY_BRANCH} # push to the branch to the RMG/RMG-tests repo: git push -f $REPO $RMGTESTSBRANCH > /dev/null