-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (33 loc) · 951 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
sudo: false
language: scala
jdk:
- oraclejdk8
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt
- node_modules
install:
- . $HOME/.nvm/nvm.sh
- nvm install stable
- nvm use stable
- npm install
script:
- npm install
- sbt -Dfile.encoding=UTF8 -J-XX:ReservedCodeCacheSize=256M -J-Xms1024M +test
before_cache:
# Cleanup the cached directories to avoid unnecessary cache updates
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -print -delete > /dev/null
- find $HOME/.sbt -name "*.lock" -print -delete > /dev/null
before_deploy:
- openssl aes-256-cbc -K $encrypted_8fcf2ba0ac75_key -iv $encrypted_8fcf2ba0ac75_iv -in project/codesigning.asc.enc -out project/codesigning.asc -d
- cp project/credentials.sbt $HOME/.sbt/1.0/sonatype.sbt
deploy:
skip_cleanup: true
provider: script
script: sbt release
on:
all_branches: true
tags: true
notifications:
email: false