forked from emacs-ess/ESS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
49 lines (44 loc) · 1.53 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
language: emacs-lisp
env:
# When there's a new major Emacs release, also update
# byte-compile-error-on-warn to the new release, below
- EVM_EMACS=emacs-25.1-travis
- EVM_EMACS=emacs-25.3-travis
- EVM_EMACS=emacs-26.1-travis-linux-xenial
- EVM_EMACS=emacs-26.2-travis-linux-xenial
- EVM_EMACS=emacs-26.3-travis-linux-xenial
- EVM_EMACS=emacs-27.1-travis-linux-xenial
- EVM_EMACS=emacs-git-snapshot-travis-linux-xenial
before_install:
- echo "deb https://cloud.r-project.org/bin/linux/ubuntu trusty/" | sudo tee -a /etc/apt/sources.list
- sudo add-apt-repository ppa:marutter/c2d4u -y
- sudo apt-get update -qq
- sudo apt-get install -y --no-install-recommends --allow-unauthenticated
r-recommended
r-cran-roxygen2
texinfo
texlive-latex-base
texlive-latex-recommended
texlive-latex-extra
- git clone https://github.com/rejeep/evm.git $HOME/.evm
- export PATH=$HOME/.evm/bin:$PATH
- evm config path /tmp
- evm install $EVM_EMACS --use --skip
before_script:
# link R executable to test defining runners based on other R
# versions found on PATH. We're lying here that it is in fact a
# different R version but that doesn't matter.
- mkdir ess-r
- ln -s $(which R) $PWD/ess-r/R-3.2.1
- export PATH=$PATH:$PWD/ess-r/
script:
- emacs --version
- R --version
- cd lisp; make julia-mode.elc
- cd ..
- make -C test -k all
- make -C doc ../README
# Create package.el-installable tar file, test that it installs
# successfully:
- make package
- emacs --script targets/travis-install-package.el