-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
54 lines (48 loc) · 1.27 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
50
51
52
53
54
sudo: false
language: nix
addons:
apt:
packages:
- gnutls-bin
- sharutils
- gnupg2
- python-minimal
- python-setuptools
- python-pip
- python3-minimal
- python3-pip
- python3-setuptools
- dirmngr
- libxml2-dev
- libxml2
- libxml2-utils
cache:
directories:
- $HOME/local
- $HOME/.cask
- $HOME/.cache/pip
- $HOME/.evm
- $HOME/.emacs.d
- $HOME/Library/Caches/Homebrew
- $HOME/.pyenv
- $HOME/Library/Caches/pip
env:
global:
- PATH=$HOME/local/bin:$HOME/local/evm/bin:$HOME/local/cask/bin:$PATH
matrix:
allow_failures:
- env: EMACS_CI=emacs-snapshot
include:
- os: linux
env: EMACS_CI=emacs-25-1 PY=python PIP="${PY} -m pip install --user"
- os: linux
env: EMACS_CI=emacs-26-3 PY=python3 PIP="${PY} -m pip install --user"
- os: linux
env: EMACS_CI=emacs-snapshot PY=python3 PIP="${PY} -m pip install --user"
before_script:
- bash <(curl https://raw.githubusercontent.com/purcell/nix-emacs-ci/master/travis-install)
- emacs --version
- sh tools/install-cask.sh
script:
- make test-install
- make test || ( ( printf "To diagnose, travis logs -i | dos2unix | sed '/^begin 644/,/^end/!d' | uudecode\n" ) && ( zip -q - tests/log/* 2>/dev/null | uuencode log.zip ) && false)