X-Git-Url: https://code.delx.au/gnu-emacs-elpa/blobdiff_plain/12b7f82dd8cdac4dc577b6a0b6a91b71b1e61142..dc3e4ca3454e8ffcd9a9eae312dba5b3657f9b11:/.travis.yml diff --git a/.travis.yml b/.travis.yml index 83990f6d1..72aa314ba 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,23 +1,28 @@ -language: emacs -before_install: - - echo -e "\ndeb http://us.archive.ubuntu.com/ubuntu raring universe multiverse main" | sudo tee -a /etc/apt/sources.list - - echo -e "\ndeb http://emacs.naquadah.org/ stable/" | sudo tee -a /etc/apt/sources.list - - echo -e "\ndeb-src http://emacs.naquadah.org/ stable/" | sudo tee -a /etc/apt/sources.list - - cat /etc/apt/sources.list - - wget -q -O - http://emacs.naquadah.org/key.gpg | sudo apt-key add - - - sudo apt-get update +language: generic +sudo: false +git: + submodules: false + +env: + - EMACS_VERSION=23.4 + - EMACS_VERSION=24.3 + - EMACS_VERSION=24.5 + - EMACS_VERSION=25-prerelease + install: - - sudo apt-get install emacs - - sudo apt-get -t raring install libgnutls26 - - sudo apt-get install emacs-snapshot-nox - - curl -O https://raw.github.com/ohler/ert/c619b56c5bc6a866e33787489545b87d79973205/lisp/emacs-lisp/ert.el - - curl -O https://raw.github.com/ohler/ert/c619b56c5bc6a866e33787489545b87d79973205/lisp/emacs-lisp/ert-x.el - - curl -o cl-lib.el http://elpa.gnu.org/packages/cl-lib-0.3.el -before_script: + - curl -LO https://github.com/npostavs/emacs-travis/releases/download/bins/emacs-bin-${EMACS_VERSION}.tar.gz + - tar -xaf emacs-bin-${EMACS_VERSION}.tar.gz -C / + # Configure $PATH: Emacs installed to /tmp/emacs + - export PATH=/tmp/emacs/bin:${PATH} + - if ! emacs -Q --batch --eval "(require 'cl-lib)" ; then + curl -Lo cl-lib.el http://elpa.gnu.org/packages/cl-lib-0.5.el ; + fi + - if ! emacs -Q --batch --eval "(require 'ert)" ; then + curl -LO https://raw.githubusercontent.com/ohler/ert/c619b56c5bc6a866e33787489545b87d79973205/lisp/emacs-lisp/ert.el && + curl -LO https://raw.githubusercontent.com/ohler/ert/c619b56c5bc6a866e33787489545b87d79973205/lisp/emacs-lisp/ert-x.el ; + fi + - emacs --version + script: - - export EMACS=emacs; rm *.elc; rake compile; rake tests - - rm ert*.el; rm cl-lib.el - - export EMACS=emacs-snapshot; rm *.elc; rake compile; rake tests -notifications: - email: - - joaotavora@gmail.com + - rake compile + - rake tests