* Add lein-doo plugin to run cljs tests. This is the new recommended approach. * Update project.clj to add cljsbuild config * Update .travis.yml file to run cljs tests as well. * Also to speed up travis builds add ~/.m2 dir in cache To run do: $ lein do javac, doo phantom test-build once Note that you'll need phantomjs installed for above to work.
8 lines
125 B
YAML
8 lines
125 B
YAML
language: clojure
|
|
lein: 2.7.1
|
|
cache:
|
|
directories:
|
|
- $HOME/.m2
|
|
script:
|
|
- lein test
|
|
- lein doo phantom test-build once
|