-
-
Notifications
You must be signed in to change notification settings - Fork 76
/
.travis.yml
60 lines (54 loc) · 1.54 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
55
56
57
58
59
60
# https://github.com/purcell/nix-emacs-ci
language: nix
sudo: false
cache:
directories:
- $HOME/nix.store
jobs:
include:
- os: linux
dist: bionic
env: EMACS_CI=emacs-25-1
- os: linux
dist: bionic
env: EMACS_CI=emacs-25-2
- os: linux
dist: bionic
env: EMACS_CI=emacs-25-3
- os: linux
dist: bionic
env: EMACS_CI=emacs-26-1
- os: linux
dist: bionic
env: EMACS_CI=emacs-26-2
- os: linux
dist: bionic
env: EMACS_CI=emacs-26-3
- os: linux
dist: bionic
env: EMACS_CI=emacs-27-1
- os: linux
dist: bionic
env: EMACS_CI=emacs-snapshot
before_install:
- sudo mkdir -p /etc/nix
- echo "substituters = https://cache.nixos.org/ file://$HOME/nix.store" | sudo tee -a /etc/nix/nix.conf > /dev/null
- echo 'require-sigs = false' | sudo tee -a /etc/nix/nix.conf > /dev/null
before_cache:
- mkdir -p $HOME/nix.store
- nix copy --to file://$HOME/nix.store -f default.nix buildInputs
install:
# The default "emacs" executable on the $PATH will now be the version named by $EMACS_CI
- bash <(curl https://raw.githubusercontent.com/purcell/nix-emacs-ci/master/travis-install)
- travis_retry eval $"curl -fsSL https://raw.githubusercontent.com/cask/cask/master/go | python ; sleep 10"
- export PATH=$HOME/.cask/bin:$PATH
- travis_retry eval $"cask install ; sleep 10"
script:
- export PATH=$HOME/.cask/bin:$PATH
- emacs --version
- cask build
- make test
allow_failures:
- os: linux
dist: bionic
env: EMACS_CI=emacs-snapshot