-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy path.travis.yml
32 lines (24 loc) · 923 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
language: scala
jdk:
- oraclejdk8
scala:
- 2.11.8
env:
- SBT_OPTS="-XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:PermSize=256m -XX:MaxPermSize=512m -Xms128m -Xmx512m" JAVA_OPTS="-XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:PermSize=256m -XX:MaxPermSize=512m -Xms1024m -Xmx1024m"
addons:
postgresql: "9.3"
before_script:
- psql -c "CREATE DATABASE octoparts_test WITH ENCODING 'UTF8';" -U postgres
- psql -c "CREATE USER octoparts_app WITH PASSWORD '';" -U postgres
- psql -c "GRANT ALL PRIVILEGES ON DATABASE octoparts_test to octoparts_app;" -U postgres
script:
- sbt clean compile test:compile
- sbt coverage test
- find $HOME/.sbt -name "*.lock" -type f -delete && find $HOME/.ivy2/cache -name "*[\[\]\(\)]*.properties" -type f -delete
after_success:
- sbt coverageReport coverageAggregate coveralls
sudo: false
cache:
directories:
- $HOME/.sbt
- $HOME/.ivy2