2017-09-28 22:33:45 +03:00
|
|
|
machine:
|
|
|
|
node:
|
|
|
|
version: v8.2.0
|
2017-10-12 15:32:36 +03:00
|
|
|
environment:
|
|
|
|
JVM_OPTS: "-Xms512m -Xmx1024m"
|
2017-09-29 01:10:22 +03:00
|
|
|
dependencies:
|
|
|
|
override:
|
|
|
|
- lein deps
|
2017-09-29 01:39:02 +03:00
|
|
|
- npm install -g karma-cli
|
2017-10-12 15:46:04 +03:00
|
|
|
- npm install
|
|
|
|
- rm -rf node_modules/react node_modules/react-dom node_modules/create-react-class node_modules/@cljs-oss
|
2016-10-21 11:02:40 +13:00
|
|
|
test:
|
|
|
|
override:
|
2017-09-29 01:10:22 +03:00
|
|
|
# Cljsjs - browser
|
2017-10-12 15:16:59 +03:00
|
|
|
- lein with-profile test do clean, doo chrome-headless client once
|
2017-09-29 01:10:22 +03:00
|
|
|
- test -f out/cljsjs/react/development/react.inc.js
|
2017-09-29 11:02:34 +03:00
|
|
|
|
2017-09-29 01:10:22 +03:00
|
|
|
# Cljsjs - Production build - Browser
|
2017-10-12 15:16:59 +03:00
|
|
|
- lein with-profile prod-test do clean, doo chrome-headless client once
|
2017-09-29 11:02:34 +03:00
|
|
|
|
2017-09-29 01:10:22 +03:00
|
|
|
# Node Modules - Browser
|
|
|
|
- npm install
|
|
|
|
- lein with-profile test do clean, doo chrome-headless client once
|
2017-10-12 15:59:16 +03:00
|
|
|
- test -f out/node_modules/react/index.js
|
2017-09-29 11:02:34 +03:00
|
|
|
|
2017-09-29 01:10:22 +03:00
|
|
|
# Node Modules - Node Target
|
|
|
|
- lein with-profile node-test do clean, doo node client once
|
2017-10-12 15:59:16 +03:00
|
|
|
- test -f out/node_modules/react/index.js
|