diff --git a/.travis.yml b/.travis.yml index 2063f56..2a0f292 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,12 @@ language: clojure -script: lein test-$CLJ +script: ./clj-kondo --lint src --lint test && lein do "eastwood-${CLJ}", "test-${CLJ}" before_install: - git submodule update --init --recursive - yes | sudo lein upgrade + - wget "https://github.com/clj-kondo/clj-kondo/releases/download/v${CLJ_KONDO_RELEASE}/clj-kondo-${CLJ_KONDO_RELEASE}-linux-static-amd64.zip" -o clj-kondo.zip + - unzip clj-kondo.zip matrix: include: diff --git a/project.clj b/project.clj index c1ef64c..da48fbb 100644 --- a/project.clj +++ b/project.clj @@ -36,6 +36,9 @@ "test-clj" ["with-clj" "test"] "test-cljs" ["with-cljs" "doo" "nashorn" "test" "once"] "test-all" ["do" "clean," "test-clj," "test-cljs"] + "eastwood-clj" ["with-clj" "eastwood"] + ;; Do nothing "op", for TravisCI CI/CD pipeline + "eastwood-cljs" ["version"] "deploy" ["do" "clean," "deploy" "clojars"]} :jar-exclusions [#"\.swp|\.swo|\.DS_Store"]