-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
34 lines (34 loc) · 891 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
language: c
dist: trusty
sudo: false
services:
- postgresql
addons:
postgresql: 9.5
apt:
sources:
- precise-pgdg-9.5
packages:
- libpq-dev
env:
global:
- EMACSCONFFLAGS="--with-x-toolkit=no --without-x --without-all --with-xml2 --with-modules"
matrix:
- EMACS_VERSION=25.3
- EMACS_VERSION=26.2
- EMACS_VERSION=snapshot
matrix:
allow_failures:
- env: EMACS_VERSION=snapshot
before_install:
- export PATH="$HOME/bin:$PATH"
- curl -fsSOL https://github.com/flycheck/emacs-travis/raw/master/emacs-travis.mk
- make -f emacs-travis.mk install_emacs
- make -f emacs-travis.mk install_cask
- curl -OL https://github.com/emacs-mirror/emacs/raw/emacs-25.1/src/emacs-module.h
install:
- make
before_script:
- psql -c 'create database travis_ci_test;' -U postgres
script:
- make PG_CONNINFO="user=postgres dbname=travis_ci_test" check