-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy path.travis.yml
55 lines (55 loc) · 1.42 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
language: ruby
# Emacs fails to build in container-based builds on Travis
# See https://github.com/travis-ci/travis-ci/issues/9061
# and https://github.com/moby/moby/issues/22801
sudo: required
dist: trusty
rvm:
- 2.3.0
# Allow Emacs snapshot builds to fail and don't wait for it
os:
- linux
- osx
matrix:
fast_finish: true
allow_failures:
- env: EMACS_VERSION=snapshot
- env: EMACS_VERSION=24.3
os: osx
- env: EMACS_VERSION=24.4
os: osx
- env: EMACS_VERSION=24.5
os: osx
git:
depth: 1
env:
matrix:
- EMACS_VERSION=24.3
- EMACS_VERSION=24.4
- EMACS_VERSION=24.5
- EMACS_VERSION=25.1-rc2
- EMACS_VERSION=25.1
- EMACS_VERSION=25.2
- EMACS_VERSION=25.3
- EMACS_VERSION=26.0.91 PRETEST=yes
- EMACS_VERSION=26.1
- EMACS_VERSION=snapshot
- TEXINFO_VERSION=6.1
global:
# Maximum number of executing procesors
- MAKE_JOBS=$(getconf _NPROCESSORS_ONLN)
# To cache vendor/bundle
- BUNDLE_PATH=vendor/bundle
# Setting up the parallel Install
- BUNDLE_JOBS=$(getconf _NPROCESSORS_ONLN)
before_install:
# Configure $PATH: Executables are installed to $HOME/bin
- export PATH="$HOME/bin:$PATH"
script:
- if [[ -n $EMACS_VERSION ]]; then make -s -f emacs-travis.mk install_emacs; fi
- if [[ -n $TEXINFO_VERSION ]]; then make -s -f emacs-travis.mk install_texinfo; fi
- make -f emacs-travis.mk test
addons:
apt:
packages:
- libperl-dev