forked from siilisolutions/hedge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
30 lines (30 loc) · 1.02 KB
/
.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
26
27
28
29
30
sudo: false
language: clojure
before_install:
- if [[ "$TRAVIS_SECURE_ENV_VARS" == "true" ]]; then openssl aes-256-cbc -K $encrypted_f09d814a19d5_key -iv $encrypted_f09d814a19d5_iv -in secrets.enc -out secrets -d ; fi
install:
- mkdir -p ~/bin
- export PATH=~/bin:$PATH
- curl -L https://github.com/boot-clj/boot-bin/releases/download/2.7.2/boot.sh -o ~/bin/boot
- chmod +x ~/bin/boot
env:
- SUB_PROJECT=library BOOT_WATCHERS_DISABLE=yes
- SUB_PROJECT=boot BOOT_WATCHERS_DISABLE=yes
- SUB_PROJECT=acceptance BOOT_WATCHERS_DISABLE=yes
jdk:
- oraclejdk8
cache:
directories:
- $HOME/.m2
- $HOME/.boot/cache/bin
- $HOME/.boot/cache/lib
- $HOME/bin
script:
- cd $SUB_PROJECT
- if [[ "$SUB_PROJECT" == "acceptance" ]]; then echo ; else boot test build-jar; fi
notifications:
email:
on_success: never
on_failure: always
after_failure:
- if [[ "$SUB_PROJECT" == "acceptance" ]]; then w3m -dump $(find ~/.boot/ -name BasicRingHandlerAzure.html) ; rm -f $(find ~/.boot/ -name BasicRingHandlerAzure.html) ; fi