-
Notifications
You must be signed in to change notification settings - Fork 138
/
.travis.yml
36 lines (29 loc) · 881 Bytes
/
.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
# Template from https://github.com/flycheck/emacs-travis
language: c
sudo: required
dist: trusty
cache:
- directories:
- "$HOME/emacs/"
addons:
apt:
packages:
- bzr
matrix:
fast_finish: true
env:
- EMACS_VERSION=25.3
- EMACS_VERSION=26.1
before_install:
- export PATH="$HOME/bin:$PATH"
- wget 'https://raw.githubusercontent.com/flycheck/emacs-travis/master/emacs-travis.mk'
- make -f emacs-travis.mk EMACSCONFFLAGS="--with-x-toolkit=no --without-x --without-all --with-xml2 --with-modules CFLAGS='-O2 -march=native' CXXFLAGS='-O2 -march=native'" install_emacs
# cmake
- wget 'https://github.com/Kitware/CMake/releases/download/v3.15.0/cmake-3.15.0-Linux-x86_64.tar.gz'
- tar -xf cmake-3.15.0-Linux-x86_64.tar.gz
- export CMAKE="$(pwd)/cmake-3.15.0-Linux-x86_64/bin/cmake"
script:
- mkdir build
- cd build
- ${CMAKE} ..
- make