Change ci script applying the make file
authorPeng Li <seudut@gmail.com>
Sun, 12 Mar 2017 11:22:47 +0000 (19:22 +0800)
committerPeng Li <seudut@gmail.com>
Sun, 12 Mar 2017 11:22:47 +0000 (19:22 +0800)
.travis.yml
Makefile

index ca24202..cd810ba 100644 (file)
@@ -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
index 00e53a2..a5cc351 100644 (file)
--- 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: