-
Notifications
You must be signed in to change notification settings - Fork 9
/
.travis.yml
25 lines (21 loc) · 967 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
dist: focal
language: node_js
node_js:
- lts/*
install:
- curl -O https://download.clojure.org/install/linux-install-1.10.3.822.sh
- chmod +x linux-install-1.10.3.822.sh
- sudo ./linux-install-1.10.3.822.sh
- curl -LO https://github.com/anmonteiro/lumo/releases/download/1.10.1/lumo_linux64.gz
- gunzip lumo_linux64.gz
- chmod +x lumo_linux64
- sudo mv lumo_linux64 /usr/local/bin/lumo
- sudo add-apt-repository -y ppa:mfikes/planck
- sudo apt-get update -y
- sudo apt-get install -y planck
script:
- if [[ $CANARY_CLOJURESCRIPT_REPO && ${CANARY_CLOJURESCRIPT_REPO-x} ]]; then DEPS="{:deps {org.clojure/clojurescript {:git/url \"${CANARY_CLOJURESCRIPT_REPO}\" :sha \"${CANARY_CLOJURESCRIPT_REV}\"}}}"; fi
- clojure -Sdeps "${DEPS:-{}}" -M:test
- clojure -Sdeps "${DEPS:-{}}" -M:test -c '{:optimizations :advanced :infer-externs true}'
- clojure -Sdeps "${DEPS:-{}}" -M:test -x lumo
- clojure -Sdeps "${DEPS:-{}}" -M:test -x planck