Run CI tests against both Cljsjs and Node Modules

This commit is contained in:
Juho Teperi 2017-09-28 22:41:34 +03:00
parent c41f70cb0b
commit 95026c77fd
1 changed files with 9 additions and 0 deletions

View File

@ -3,6 +3,15 @@ machine:
version: v8.2.0 version: v8.2.0
test: test:
override: override:
# Run tests against Cljsjs
- mv node_modules node_modules_disabled
- lein with-profile dev do clean, cljsbuild once - lein with-profile dev do clean, cljsbuild once
- node bin/gen-site.js - node bin/gen-site.js
- test -f outsite/public/js/out/cljsjs/react/development/react.inc.js
- lein with-profile prod-test do clean, cljsbuild once - lein with-profile prod-test do clean, cljsbuild once
# Run tests against Node Modules
- mv node_modules_disabled
- lein clean
- lein with-profile dev do clean, cljsbuild once
- node bin/gen-site.js
- test -f outsite/public/js/out/node_modules/react/react.js