From 126b1bfac801b90e3004668f24be2671435b329e Mon Sep 17 00:00:00 2001 From: Moshe Immerman Date: Sun, 17 Sep 2017 12:03:30 +0200 Subject: [PATCH] add github commit age checking --- .travis.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 15bf21a..51d6936 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,11 @@ language: ruby rvm: - - 2.2 + - 2.3.1 before_script: - - gem install awesome_bot + - git clone https://github.com/moshe-immerman/awesome_bot.git && cd awesome_bot + - gem build awesome_bot.gemspec + - gem install awesome_bot*.gem http script: - - awesome_bot README.md --white-list wiki/Installing,slideshare,awesome-docker.svg,edit/master,sindresorhus/awesome,ashmckenzie,shortcircuit.net.au,photo777.org,adrianmouat,redhat,viget,meros,toedter,datadoghq,amazon.cn,blog.codeship.com,swarm-v-fleet,amazon.com,blogs.splunk.com,docs.mesosphere.com,containership.io,gliderlabs.com,twistlock.com,shipyard-project.com,dashboard.tutum.co,vimeo.com,docs.microsoft.com,eclipse.org,codenvy.io,gitter.im,sebgoa.blogspot.be,mindmeister.com + - git diff master..`git rev-parse --abbrev-ref HEAD` README.md | grep + > CHANGED.md + - awesome_bot CHANGED.md --github-age 500 + - awesome_bot README.md --white-list wiki/Installing,slideshare,awesome-docker.svg,edit/master,sindresorhus/awesome,ashmckenzie,shortcircuit.net.au,photo777.org,adrianmouat,redhat,viget,meros,toedter,datadoghq,amazon.cn,blog.codeship.com,swarm-v-fleet,amazon.com,blogs.splunk.com,docs.mesosphere.com,containership.io,gliderlabs.com,twistlock.com,shipyard-project.com,dashboard.tutum.co,vimeo.com,docs.microsoft.com,eclipse.org,codenvy.io,gitter.im,sebgoa.blogspot.be,mindmeister.com \ No newline at end of file