sbt/.travis.yml

53 lines
1.6 KiB
YAML
Raw Normal View History

2015-02-17 18:02:41 +01:00
# Use Docker-based container (instead of OpenVZ)
sudo: false
cache:
directories:
- $HOME/.ivy2/cache
2015-02-24 18:43:36 +01:00
- $HOME/.sbt/boot
2015-02-17 18:02:41 +01:00
language: scala
# TODO - we'd like to actually test everything, but the process library has a deadlock right now
jdk:
- openjdk6
2014-05-07 21:10:03 +02:00
# - oraclejdk7
env:
matrix:
- SBT_CMD="safeUnitTests"
- SBT_CMD="otherUnitTests"
- SBT_CMD="scripted actions/*"
- SBT_CMD="scripted api/*"
- SBT_CMD="scripted compiler-project/*"
- SBT_CMD="scripted dependency-management/*1of2"
- SBT_CMD="scripted dependency-management/*2of2"
- SBT_CMD="scripted ivy-deps-management/*"
- SBT_CMD="scripted java/*"
- SBT_CMD="scripted package/*"
- SBT_CMD="scripted project/*1of2"
- SBT_CMD="scripted project/*2of2"
- SBT_CMD="scripted reporter/*"
- SBT_CMD="scripted run/*"
- SBT_CMD="scripted source-dependencies/*1of3"
- SBT_CMD="scripted source-dependencies/*2of3"
- SBT_CMD="scripted source-dependencies/*3of3"
- SBT_CMD="scripted tests/*"
- SBT_CMD="scripted project-load/*"
- SBT_CMD="checkBuildScala211"
- SBT_CMD="repoOverrideTest:scripted dependency-management/*"
- SBT_CMD="mavenResolverPluginTest:scripted dependency-management/*2of2"
- SBT_CMD="mavenResolverPluginTest:scripted dependency-management/*1of2 project/transitive-plugins"
notifications:
email:
2015-02-17 18:02:41 +01:00
- eugene.yokota@typesafe.com
- joshua.suereth@typesafe.com
script:
- sbt -J-XX:ReservedCodeCacheSize=128m "$SBT_CMD"
2015-02-17 18:02:41 +01:00
# Tricks to avoid unnecessary cache updates
- find $HOME/.sbt -name "*.lock" | xargs rm
- find $HOME/.ivy2 -name "ivydata-*.properties" | xargs rm