mirror of https://github.com/sbt/sbt.git
53 lines
1.6 KiB
YAML
53 lines
1.6 KiB
YAML
# Use Docker-based container (instead of OpenVZ)
|
|
sudo: false
|
|
|
|
cache:
|
|
directories:
|
|
- $HOME/.ivy2/cache
|
|
- $HOME/.sbt/boot
|
|
|
|
language: scala
|
|
|
|
# TODO - we'd like to actually test everything, but the process library has a deadlock right now
|
|
jdk:
|
|
- openjdk6
|
|
# - 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:
|
|
- eugene.yokota@typesafe.com
|
|
- joshua.suereth@typesafe.com
|
|
|
|
script:
|
|
- sbt -J-XX:ReservedCodeCacheSize=128m "$SBT_CMD"
|
|
|
|
# Tricks to avoid unnecessary cache updates
|
|
- find $HOME/.sbt -name "*.lock" | xargs rm
|
|
- find $HOME/.ivy2 -name "ivydata-*.properties" | xargs rm
|