-
Notifications
You must be signed in to change notification settings - Fork 5
/
circle.yml
35 lines (32 loc) · 1.01 KB
/
circle.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
machine:
environment:
SBT_VERSION: 0.13.15
SBT_OPTS: "-Xms512M -Xmx1536M -Xss1M -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=256M"
KEYSTORE_DIR: ${HOME}/.gnupg
java:
version: oraclejdk8
dependencies:
override:
- bash ./scripts/download_pgp_key.sh
- cat /dev/null | sbt +test:compile
cache_directories:
- "~/.sbt"
pre:
- wget --output-document=$HOME/bin/sbt-launch.jar
https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt-launch/"$SBT_VERSION"/sbt-launch.jar
- echo "java $SBT_OPTS -jar \`dirname \$0\`/sbt-launch.jar \"\$@\""
> $HOME/bin/sbt
- chmod u+x $HOME/bin/sbt
- which sbt
- sbt version
test:
override:
- cat /dev/null | sbt ";+clean ;+test; +publishLocal; +play-webpack-plugin/scripted"
post:
- mkdir -p $CIRCLE_TEST_REPORTS/junit/
- find . -type f -regex "./test_out/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;
deployment:
hub:
branch: master
commands:
- cat /dev/null | sbt ";+publishSigned"