mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
Add .travis.yml file.
This commit is contained in:
14
.travis.yml
Normal file
14
.travis.yml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
language: clojure
|
||||||
|
lein: lein
|
||||||
|
sudo: false
|
||||||
|
|
||||||
|
script:
|
||||||
|
./scripts/build
|
||||||
|
node out/tests.js
|
||||||
|
|
||||||
|
jdk:
|
||||||
|
- oraclejdk8
|
||||||
|
|
||||||
|
node_js:
|
||||||
|
- "5.4.1"
|
||||||
|
|
||||||
@@ -8,14 +8,13 @@
|
|||||||
|
|
||||||
(let [start (System/nanoTime)]
|
(let [start (System/nanoTime)]
|
||||||
(b/build
|
(b/build
|
||||||
(b/inputs "src")
|
(b/inputs "src" "test")
|
||||||
{:main 'uxbox.core
|
{:main 'uxbox.test-runner
|
||||||
:output-to "resources/public/js/main.js"
|
:output-to "out/tests.js"
|
||||||
:output-dir "resources/public/js"
|
:output-dir "out"
|
||||||
:parallel-build false
|
:parallel-build false
|
||||||
:optimizations :advanced
|
:optimizations :advanced
|
||||||
:language-in :ecmascript5
|
:language-in :ecmascript5
|
||||||
:language-out :ecmascript5
|
:language-out :ecmascript5
|
||||||
:asset-path "/js"
|
|
||||||
:verbose true})
|
:verbose true})
|
||||||
(println "... done. Elapsed" (/ (- (System/nanoTime) start) 1e9) "seconds"))
|
(println "... done. Elapsed" (/ (- (System/nanoTime) start) 1e9) "seconds"))
|
||||||
|
|||||||
Reference in New Issue
Block a user