emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/pq 09e320f63f 29/63: Initial travis ci configuration


From: ELPA Syncer
Subject: [elpa] externals/pq 09e320f63f 29/63: Initial travis ci configuration
Date: Mon, 14 Feb 2022 23:24:23 -0500 (EST)

branch: externals/pq
commit 09e320f63f80dc3c3498d49cdd3296b091797254
Author: Mario Rodas <marsam@users.noreply.github.com>
Commit: Mario Rodas <marsam@users.noreply.github.com>

    Initial travis ci configuration
---
 .travis.yml | 26 ++++++++++++++++++++++++++
 Makefile    |  2 +-
 2 files changed, 27 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000000..5e9e8e8415
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,26 @@
+language: c
+dist: trusty
+sudo: false
+services:
+  - postgresql
+addons:
+  postgresql: 9.5
+  apt:
+    sources:
+      - precise-pgdg-9.5
+    packages:
+      - libpq-dev
+env:
+  - EMACS_VERSION=25.1
+  - 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
+script:
+  - make
diff --git a/Makefile b/Makefile
index 0376e3687d..fbea451bb5 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ PG_CONFIG = pg_config
 PGINCLUDEDIR := $(shell $(PG_CONFIG) --pkgincludedir)
 
 CC = gcc
-CFLAGS  = -I$(HOME)/ext/emacs/src/ -I$(PGINCLUDEDIR) -std=gnu99 -ggdb3 -Wall 
-fPIC
+CFLAGS  = -I$(CURDIR) -I$(HOME)/ext/emacs/src/ -I$(PGINCLUDEDIR) -std=gnu99 
-ggdb3 -Wall -fPIC
 LDFLAGS = -lpq
 
 ifeq ($(OS),Windows_NT)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]