-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircle.yml
48 lines (43 loc) · 1.14 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
36
37
38
39
40
41
42
43
44
45
46
47
dependencies:
pre:
- wget -q https://dl.bintray.com/sbt/debian/sbt-0.13.11.deb
- sudo dpkg -i sbt-0.13.11.deb
cache_directories:
- "~/.ivy2"
- "~/.sbt"
- "~/.m2"
- "~/docker"
machine:
services:
- docker
java:
version: oraclejdk8
environment:
SBT_VERSION: 0.13.11
SBT_OPTS: "-Xms512M -Xmx1536M -Xss1M -XX:+CMSClassUnloadingEnabled"
dependencies:
# Cache the resolution-cache and build streams to speed things up
cache_directories:
- "~/.sbt"
- "target/resolution-cache"
- "target/streams"
- "project/target/resolution-cache"
- "project/target/streams"
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
# Compile all sources
override:
- sbt test:compile
test:
override:
- sbt test -Dsbt.parser.simple=true
deployment:
staging:
branch: master
heroku:
appname: prodbox