From baa31e24d74c9dcf219da1185a124565e72dbb13 Mon Sep 17 00:00:00 2001 From: Timothy Gu Date: Sun, 5 Jul 2015 18:17:50 -0700 Subject: [PATCH] Travis CI integration for updating versions.json --- .travis.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..40a097ec --- /dev/null +++ b/.travis.yml @@ -0,0 +1,17 @@ +language: c +sudo: false + +script: + - make versions.json + +after_success: + - git config --global user.email 'mxebot@gmail.com' + - git config --global user.name 'MXEBot as Travis CI' + - git config credential.helper "store --file=.git/credentials" + - echo "https://${GH_TOKEN}:@github.com" > .git/credentials + - git commit -a -m 'Update versions.json' + - git push + +env: + global: + secure: M3fS92HUV+3PklS3h1CVG+TuhZLYgGEeWVsL0ICvJKnbMSvaqm0/OAxwlXbKLkZ/j6JK2yGgChx8QzffkoRr67tHCaPM7cR7mFRn7GivJcgZcA8UAaL9V4AtEHqFIonat8XEsxruUPJyVHgGiTBQfKphQEGtKtHF8iSUhvIxqC8=