mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 05:03:04 +00:00
Simpler, more effective .travis file
* .travis.yml (env): New section. (install): Simpler install recipes. (script): Just rake compile and rake tests.
This commit is contained in:
parent
a0c221725c
commit
4d9eee93ba
41
.travis.yml
41
.travis.yml
@ -1,23 +1,24 @@
|
|||||||
language: emacs
|
language: emacs
|
||||||
before_install:
|
|
||||||
- echo -e "\ndeb http://us.archive.ubuntu.com/ubuntu raring universe multiverse main" | sudo tee -a /etc/apt/sources.list
|
env:
|
||||||
- echo -e "\ndeb http://emacs.naquadah.org/ stable/" | sudo tee -a /etc/apt/sources.list
|
- "EMACS=emacs23"
|
||||||
- echo -e "\ndeb-src http://emacs.naquadah.org/ stable/" | sudo tee -a /etc/apt/sources.list
|
- "EMACS=emacs24"
|
||||||
- cat /etc/apt/sources.list
|
|
||||||
- wget -q -O - http://emacs.naquadah.org/key.gpg | sudo apt-key add -
|
|
||||||
- sudo apt-get update
|
|
||||||
install:
|
install:
|
||||||
- sudo apt-get install emacs
|
- if [ "$EMACS" = "emacs23" ]; then
|
||||||
- sudo apt-get -t raring install libgnutls26
|
sudo apt-get -qq update &&
|
||||||
- sudo apt-get install emacs-snapshot-nox
|
sudo apt-get -qq -f install &&
|
||||||
- curl -O https://raw.github.com/ohler/ert/c619b56c5bc6a866e33787489545b87d79973205/lisp/emacs-lisp/ert.el
|
sudo apt-get -qq install emacs23-nox &&
|
||||||
- curl -O https://raw.github.com/ohler/ert/c619b56c5bc6a866e33787489545b87d79973205/lisp/emacs-lisp/ert-x.el
|
curl -LO https://raw.githubusercontent.com/ohler/ert/c619b56c5bc6a866e33787489545b87d79973205/lisp/emacs-lisp/ert.el &&
|
||||||
- curl -o cl-lib.el http://elpa.gnu.org/packages/cl-lib-0.3.el
|
curl -LO https://raw.githubusercontent.com/ohler/ert/c619b56c5bc6a866e33787489545b87d79973205/lisp/emacs-lisp/ert-x.el &&
|
||||||
before_script:
|
curl -Lo cl-lib.el http://elpa.gnu.org/packages/cl-lib-0.5.el;
|
||||||
|
fi
|
||||||
|
- if [ "$EMACS" = "emacs24" ]; then
|
||||||
|
sudo add-apt-repository -y ppa:cassou/emacs &&
|
||||||
|
sudo apt-get -qq update &&
|
||||||
|
sudo apt-get -qq -f install &&
|
||||||
|
sudo apt-get -qq install emacs24-nox;
|
||||||
|
fi
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- export EMACS=emacs; rm *.elc; rake compile; rake tests
|
- 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
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user