This repository has been archived by the owner on Mar 3, 2024. It is now read-only.
forked from flycheck/emacs-travis
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
48 lines (44 loc) · 1.86 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
language: generic
# This is the default, make it explicit so that we are not caught by a
# change in the default.
os: linux
dist: xenial
cache:
timeout: 30 # caching only saves about a minute anyway
directories:
- /tmp/autoconf
env:
jobs:
- EMACS_REV=emacs-26
- EMACS_REV=emacs-27
- EMACS_REV=master
global:
# travis encrypt -r npostavs/emacs-travis github_token=<emacs-builder token>
- secure: "enH7+7R0YgipY7XHLoskFsztGUiiZMFQ+BBInEYVQHRt2jVabF6+fDcByTpMqFgR4XmpVzaph4HCVIy3t6R5s794IYa6VNw4+cF9g+7Su0pxGxWqpGOLeabeXYfqeRLMOjS3lADe1/UJ+4cBh0+e1lyToqBLjO2bE35/IqftgIAjElRkL0DXi0be/D6mBnsehDceTYSq4xET/qcgK5tWgZUsmexI+Ks1fb46E7YPoiSa6+kfrDZ7qjfW40GF0YgJyRtHyagggOKglyechh1uC6VMaByEJuFuKJ2iu+BdDMc183PQ1j4/DCKJAJ46LNQOGneXe8qNDcK4tNJmghObVLhGXSjNyCASENaVdeiftuUxEXENDF3d4XFVrTAGSwGRyboxG2n41tJq72RGYocHWLfN9dow0bp6viTYq4KdNObXq+/z2RbuhvlZ1yGl9H/abBe112zeVdiNR6KCgz/dQzasP/dnGORhORmuSWhs/D7k0VpwIGs1OINhqtsPcMQ5+ETOyRshtlBTAbW4VB/0nU92P8bM4762d3we5vP4/zfiL49hOgLgaJasgLCnUQ4hT9PPRB6JLIwp6RxOTWQ5wp82rVq+Xo9ekHcJmDtmrn/frvD8z6qPVkS7dv2R9ELidDmJLam5I5sL7hDFCiTsu+U+ueMxLLCeJIJW2gOlllk="
before_install:
# Configure $PATH: Emacs installed to /tmp/emacs
- export PATH=/tmp/emacs/bin:${PATH}
- . travis-steps.sh "$EMACS_REV" "$EMACS_VERSION" "$github_token"
- get_jq
- check_freshness
# Emacs require libgnutls to build by default, so we probably want
# that for testing binaries (do this after check_freshness).
- sudo apt-get install -y libgnutls-dev
- download
- unpack
- autogen
- configure
- do_make
- do_make install | grep -E '^(make|[A-Z])'
script:
- emacs --version
after_success:
- pack
# NOTE: after_success commands keep going even if one fails.
- upload; upload_error=$?
- test $upload_error -eq 0 && replace_old
- test $upload_error -eq 0 && delete_old
notifications:
email:
on_success: never
on_failure: never