forked from ubolonton/emacs-module-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
62 lines (55 loc) · 1.36 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
61
62
language: rust
rust:
- stable
cache: cargo
# https://github.com/travis-ci/travis-ci/issues/9073
sudo: required
matrix:
include:
- env: EVM_EMACS=emacs-25.3
os: osx
- env: EVM_EMACS=emacs-25.3
dist: trusty
- env: EVM_EMACS=emacs-25.3
dist: xenial
addons:
apt:
packages:
- libgtk-3-dev
- libxpm-dev
- env: EVM_EMACS=emacs-26.1
os: osx
- env: EVM_EMACS=emacs-26.1
dist: trusty
# https://github.com/ubolonton/emacs-module-rs/issues/1#issuecomment-476049325
# - env: EVM_EMACS=emacs-26.1
# dist: xenial
# addons:
# apt:
# packages:
# - libgtk-3-dev
# - libxpm-dev
# - libgnutls-dev
- env: EVM_EMACS=emacs-26.2
os: osx
- env: EVM_EMACS=emacs-26.2
dist: trusty
# https://github.com/ubolonton/emacs-module-rs/issues/1#issuecomment-476049325
# - env: EVM_EMACS=emacs-26.2
# dist: xenial
# addons:
# apt:
# packages:
# - libgtk-3-dev
# - libxpm-dev
# - libgnutls-dev
before_install:
- export PATH="$HOME/.evm/bin:$PATH"
- git clone -b max-26.2 https://github.com/ubolonton/evm.git $HOME/.evm
- evm config path /tmp
- evm install $EVM_EMACS --use --skip
install:
- ./bin/build
script:
- cargo test --all
- ./bin/test