From 7ba82c345f08c4021a1fc9b9cf4a3bdbbb36f4d1 Mon Sep 17 00:00:00 2001 From: Peng Li Date: Sun, 12 Mar 2017 19:22:47 +0800 Subject: [PATCH] Change ci script applying the make file --- .travis.yml | 3 +-- Makefile | 5 +++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index ca24202..cd810ba 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,5 +11,4 @@ env: - EVM_EMACS=emacs-25.1-travis script: - - make all FORCE=true - - curl http://www.seudut.com/cgi-bin/update.pl \ No newline at end of file + - make test diff --git a/Makefile b/Makefile index 00e53a2..a5cc351 100644 --- a/Makefile +++ b/Makefile @@ -18,10 +18,11 @@ publish: --eval '(blog-setup-project-alist "$(BLOGDIR)" "$(OUTDIR)")' \ --eval '(org-publish-current-project)' -compile: +# test will force publishing all files in the porject +test: $(emacs) -Q --batch -l my-publish.el index.org \ --eval '(setq debug-on-error t)' \ - --eval '(blog-setup-project-alist "$(BLOGDIR)" "$(OUTDIR)")' \ + --eval '(blog-setup-project-alist "$(BLOGDIR)"' \ --eval '(org-publish-current-project t)' clean: -- 2.11.0