diff --git a/.travis.yml b/.travis.yml index 23bd42b..c5a95ce 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,18 +1,7 @@ language: ruby rvm: -- 2.3.1 + - 2.2 before_script: -- git clone https://github.com/moshe-immerman/awesome_bot.git && cd awesome_bot -- gem build awesome_bot.gemspec -- gem install awesome_bot*.gem http + - gem install awesome_bot script: - - cd $TRAVIS_BUILD_DIR - - export GH_TOKEN=$GH_TOKEN_A$GH_TOKEN_B - - 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 -env: - global: - - GH_USER=moshes-bot - - GH_TOKEN_A=f55be460666242f42e7 - - GH_TOKEN_B=bdf7ecf2b8d82aadcb0ee \ No newline at end of file + - 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