From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yagnesh Raghava Yakkala Subject: Re: tests with travis-ci Date: Fri, 22 Mar 2013 07:20:26 +0900 Message-ID: <87hak4wg2d.fsf@yagnesh.org> References: <16047.1363748067@alphaville> <86vc8mtfcx.fsf@somewhere.org> <87fvzqnpfd.fsf@bzg.ath.cx> <87fvzozx88.fsf@bzg.ath.cx> <87hak4d712.fsf@yagnesh.org> <87vc8k4q2y.fsf@bzg.ath.cx> <87mwtwwq8a.fsf_-_@yagnesh.org> <87sj3o32p7.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:36077) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UInqQ-0002a1-Cg for emacs-orgmode@gnu.org; Thu, 21 Mar 2013 18:20:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UInqO-0006Xx-Dq for emacs-orgmode@gnu.org; Thu, 21 Mar 2013 18:20:22 -0400 Received: from mailgate3.sys.hokudai.ac.jp ([133.87.1.142]:54759) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UInqN-0006XS-Tl for emacs-orgmode@gnu.org; Thu, 21 Mar 2013 18:20:20 -0400 Received: from mailgate3.sys.hokudai.ac.jp (mailgate3.sys.hokudai.ac.jp [127.0.0.1]) by localhost.sys.hokudai.ac.jp (Postfix) with ESMTP id E562C2305AF for ; Fri, 22 Mar 2013 07:20:17 +0900 (JST) Received: from okhotsk19 (okhotsk19.lowtem.hokudai.ac.jp [133.87.217.175]) by mailgate3.sys.hokudai.ac.jp (Postfix) with ESMTP id DA3392305AA for ; Fri, 22 Mar 2013 07:20:14 +0900 (JST) In-Reply-To: <87sj3o32p7.fsf@bzg.ath.cx> (Bastien's message of "Thu, 21 Mar 2013 21:41:56 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: yann.hodique@gmail.com, Achim Gratz , emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable [CC'ed to Yann Hodique to acknowledge him] Hello Bastien, I am attaching a patch, please have a look. (especially change in org-test.= el) It is directly copied from Magit (with one minor change). It uses Yann's virtualenv-emacs=C2=B9 python package which creates multiple emacs environm= ents. > Let me know if there is anything I should do. 1) Mirror org-mode to your github repo (https://github.com/bzg/org-mode) wi= th post receive hook. does org-mode.org server uses gitolite to manage git repos? if so https://github.com/miracle2k/gitolite-simple-mirror may be useful.= (I use it on my server for mirroring) 2) Allow travis to access your org-mode repository (This must be very easy)= =20 - Create an account on https://travis-ci.org., just click "sign in with github" - activate tests org-mode repo at https://travis-ci.org/profile --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-.travis.yml-travis-ci-setup-adopted-from-magit-sourc.patch >From 2666c2ec2a85ca5d68f61b49081d82d1e5165a2d Mon Sep 17 00:00:00 2001 From: Yakkala Yagnesh Raghava Date: Fri, 22 Mar 2013 06:37:48 +0900 Subject: [PATCH] * .travis.yml: travis-ci setup (adopted from magit sources). * testing/org-test.el: remove requiring ert-x (needed for < emacs-24) Signed-off-by: Yakkala Yagnesh Raghava --- .travis.yml | 24 ++++++++++++++++++++++++ testing/org-test.el | 1 - 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..2334034 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,24 @@ +language: python +python: + - "2.7" +env: + matrix: + - EMACS=emacs + - EMACS=emacs24 + - EMACS=emacs-snapshot +before_install: + - if [ "$EMACS" = "emacs24" ]; then + sudo add-apt-repository -y ppa:cassou/emacs && + sudo apt-get update -qq && + sudo apt-get install -qq emacs24 emacs24-el; + fi + - if [ "$EMACS" = 'emacs-snapshot' ]; then + sudo add-apt-repository -y ppa:cassou/emacs && + sudo apt-get update -qq && + sudo apt-get install -qq + emacs-snapshot-el emacs-snapshot-gtk emacs-snapshot; + fi + - pip install virtualenv-emacs + - virtualenv_install_emacs --with-emacs=`which "$EMACS"` +script: + make test diff --git a/testing/org-test.el b/testing/org-test.el index 0c9ca58..5f8dd52 100644 --- a/testing/org-test.el +++ b/testing/org-test.el @@ -79,7 +79,6 @@ "Parent major mode from which special major modes should inherit." (setq buffer-read-only t))) (require 'ert) - (require 'ert-x) (when (file-exists-p (expand-file-name "jump/jump.el" org-test-dir)) (require 'jump) -- 1.8.1.5 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 DQpUaGVyZSBhcmUgZmV3IHRlc3RzIGZhaWxpbmfCsiB3aXRoIGVtYWNzLTIzLCBkb24ndCBrbm93 IG11Y2ggYWJvdXQgdGhlbS4NCg0KRmluYWxseSwgSSBoYXZlbid0IGFjdGl2YXRlZCAoeWV0KSBl bWFpbCBvcHRpb24gdG8gc2VuZCBhbiBlbWFpbCB0byBhdXRob3Igb2YNCnRoZSBjb21taXQgaWYg YSB0ZXN0IGZhaWxzLg0KDQpUaGFua3MuLA0KDQrCuSAgaHR0cHM6Ly9naXRodWIuY29tL3NpZ21h L3ZpcnR1YWxlbnYtZW1hY3MNCsKyICBodHRwczovL3RyYXZpcy1jaS5vcmcveXlyL29yZy1tb2Rl IChkaXJlY3QgbGluayB0byBsb2c6IGh0dHBzOi8vYXBpLnRyYXZpcy1jaS5vcmcvam9icy81Njk4 ODY0L2xvZy50eHQ/ZGVhbnNpPXRydWUpDQoNCi0tIA0K4LCO4LCC4LCm4LCw4LGLIOCwruCwueCw vuCwqOCxgeCwreCwvuCwteCxgeCwsuCxgSDgsIXgsILgsKbgsLDgsL/gsJXgsL8g4LC14LCC4LCm 4LCo4LCu4LGB4LCy4LGBLg0KWVlSDQo= --=-=-=--