Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHieu Hoang <hieuhoang@gmail.com>2015-06-04 15:46:56 +0300
committerHieu Hoang <hieuhoang@gmail.com>2015-06-04 15:46:56 +0300
commit7047c591c8414864ef13020e256e841aa217c4d2 (patch)
treec22b8bd7d2b64af7352a8195d95f4d3cd0f9cd28 /cruise-control
parent0e11919ffb7093939e0402725a6fc6a319691633 (diff)
Beautify before cruise control test. Push using MosesAdmin account, must be set up with ssh.
Diffstat (limited to 'cruise-control')
-rwxr-xr-xcruise-control/test_all_new_commits.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/cruise-control/test_all_new_commits.sh b/cruise-control/test_all_new_commits.sh
index 433857eb5..79d44d3a3 100755
--- a/cruise-control/test_all_new_commits.sh
+++ b/cruise-control/test_all_new_commits.sh
@@ -17,6 +17,14 @@ configname=$(basename $configf | sed 's/\.config$//')
source "$configf"
+# beautifier
+git clone git@github.com:moses-smt/mosesdecoder.git /tmp/moses
+cd /tmp/moses
+./scripts/other/beautify.py --format --skip-perltidy
+git commit -am "daily automatic beautifier"
+git push
+rm -rf /tmp/moses
+
[ -z "$MCC_SCAN_BRANCHES" ] \
&& die "Bad config $configf; does not define MCC_SCAN_BRANCHES"