File: .travis.yml

package info (click to toggle)
magit 2.99.0.git0957.ge8c7bd03-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,716 kB
  • sloc: lisp: 24,020; makefile: 523; sh: 16
file content (45 lines) | stat: -rw-r--r-- 1,498 bytes parent folder | download
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
language: generic
os: linux
dist: xenial

env:
  global:
    - CURL="curl -fsSkL --retry 9 --retry-delay 9"
    - GHRAW="https://raw.githubusercontent.com"
    - BUILD_MAGIT_LIBGIT="false"
  jobs:
    - EMACS_VERSION=25.1
    # 25.2 is identical to 25.3 except for a critical security bug in
    # enriched text mode (see Emacs Bug#28350).
    - EMACS_VERSION=25.3
    - EMACS_VERSION=26.1   # Debian is on this version.
    - EMACS_VERSION=26.3
    - EMACS_VERSION=27     # 27.0.90, emacs-27 branch, built daily
    - EMACS_VERSION=master # 28.0.50, master branch, built daily

jobs:
  allow_failures:
    - env: EMACS_VERSION=master

install:
  - $CURL -O https://github.com/npostavs/emacs-travis/releases/download/bins/emacs-bin-${EMACS_VERSION}.tar.gz
  - tar -xaf emacs-bin-${EMACS_VERSION}.tar.gz -C /
  - export EMACS=/tmp/emacs/bin/emacs
  - $CURL -O ${GHRAW}/magnars/dash.el/master/dash.el
  - $CURL -O ${GHRAW}/magit/transient/master/lisp/transient.el
  - $CURL -O ${GHRAW}/magit/with-editor/master/with-editor.el
  - $EMACS -Q --batch -L . -f batch-byte-compile dash.el transient.el with-editor.el
  - $EMACS --version

script:
  - git config --global user.name "A U Thor"
  - git config --global user.email a.u.thor@example.com
  - git tag 0
  - make lisp EMACSBIN=$EMACS DASH_DIR=$PWD
  - make test EMACSBIN=$EMACS DASH_DIR=$PWD

notifications:
  email:
    # Default is change, but that includes a new branch's 1st success.
    on_success: never
    on_failure: always # The default.