]> code.delx.au - gnu-emacs-elpa/blob - .travis.yml
Try the new travis.yml
[gnu-emacs-elpa] / .travis.yml
1 # https://github.com/rolandwalker/emacs-travis
2
3 language: emacs-lisp
4
5 env:
6 matrix:
7 - EMACS=emacs22
8 - EMACS=emacs23
9 - EMACS=emacs24
10 - EMACS=emacs-snapshot
11
12 install:
13 - if [ "$EMACS" = "emacs22" ]; then
14 curl -Os http://security.ubuntu.com/ubuntu/pool/universe/e/emacs22/emacs22_22.2-0ubuntu9_i386.deb &&
15 curl -Os http://security.ubuntu.com/ubuntu/pool/universe/e/emacs22/emacs22-bin-common_22.2-0ubuntu9_i386.deb &&
16 curl -Os http://security.ubuntu.com/ubuntu/pool/universe/e/emacs22/emacs22-common_22.2-0ubuntu9_all.deb &&
17 curl -Os http://security.ubuntu.com/ubuntu/pool/universe/e/emacs22/emacs22-el_22.2-0ubuntu9_all.deb &&
18 curl -Os http://security.ubuntu.com/ubuntu/pool/universe/e/emacs22/emacs22-gtk_22.2-0ubuntu9_i386.deb &&
19 sudo apt-get update -qq &&
20 sudo apt-get remove -qq emacs emacs23-bin-common emacs23-common emacs23-nox &&
21 sudo apt-get install -qq libjpeg62 xaw3dg &&
22 sudo dpkg -i emacs22_22.2-0ubuntu9_i386.deb emacs22-bin-common_22.2-0ubuntu9_i386.deb emacs22-common_22.2-0ubuntu9_all.deb emacs22-el_22.2-0ubuntu9_all.deb emacs22-gtk_22.2-0ubuntu9_i386.deb &&
23 sudo update-alternatives --set emacs22 /usr/bin/emacs22-gtk;
24 fi
25 - if [ "$EMACS" = "emacs23" ]; then
26 sudo apt-get update -qq &&
27 sudo apt-get install -qq emacs23-gtk emacs23-el;
28 fi
29 - if [ "$EMACS" = "emacs24" ]; then
30 sudo add-apt-repository -y ppa:cassou/emacs &&
31 sudo apt-get update -qq &&
32 sudo apt-get install -qq emacs24 emacs24-el;
33 fi
34 - if [ "$EMACS" = "emacs-snapshot" ]; then
35 sudo add-apt-repository -y ppa:cassou/emacs &&
36 sudo apt-get update -qq &&
37 sudo apt-get install -qq emacs-snapshot &&
38 sudo apt-get install -qq emacs-snapshot-el emacs-snapshot-gtk;
39 fi
40
41 before_script:
42 make downloads
43
44 script:
45 make test-batch EMACS=${EMACS}
46
47 notifications:
48 email: false