mirror of https://github.com/sbt/sbt.git
51 lines
1.5 KiB
YAML
51 lines
1.5 KiB
YAML
sudo: false
|
|
dist: trusty
|
|
group: stable
|
|
|
|
cache:
|
|
directories:
|
|
- $HOME/.ivy2/cache
|
|
- $HOME/.sbt/boot
|
|
|
|
language: scala
|
|
|
|
jdk:
|
|
- oraclejdk8
|
|
|
|
matrix:
|
|
fast_finish: true
|
|
|
|
env:
|
|
matrix:
|
|
- SBT_CMD=";mimaReportBinaryIssues ;scalafmt::test ;test:scalafmt::test ;sbt:scalafmt::test ;test:compile ;mainSettingsProj/test ;safeUnitTests ;otherUnitTests"
|
|
- SBT_CMD="scripted actions/*"
|
|
- SBT_CMD="scripted apiinfo/* compiler-project/* ivy-deps-management/*"
|
|
- SBT_CMD="scripted dependency-management/*1of4"
|
|
- SBT_CMD="scripted dependency-management/*2of4"
|
|
- SBT_CMD="scripted dependency-management/*3of4"
|
|
- SBT_CMD="scripted dependency-management/*4of4"
|
|
- SBT_CMD="scripted java/* package/* reporter/* run/* project-load/*"
|
|
- SBT_CMD="scripted project/*1of2"
|
|
- SBT_CMD="scripted project/*2of2 server/*"
|
|
- SBT_CMD="scripted source-dependencies/*1of3"
|
|
- SBT_CMD="scripted source-dependencies/*2of3"
|
|
- SBT_CMD="scripted source-dependencies/*3of3"
|
|
- SBT_CMD="scripted tests/*"
|
|
- SBT_CMD="repoOverrideTest:scripted dependency-management/*"
|
|
|
|
notifications:
|
|
email:
|
|
- sbt-dev-bot@googlegroups.com
|
|
|
|
# Undo _JAVA_OPTIONS environment variable
|
|
before_script:
|
|
- _JAVA_OPTIONS=
|
|
|
|
script:
|
|
# It doesn't need that much memory because compile and run are forked
|
|
- sbt -J-XX:ReservedCodeCacheSize=128m -J-Xmx800M -J-Xms800M -J-server "$SBT_CMD"
|
|
|
|
before_cache:
|
|
- find $HOME/.ivy2 -name "ivydata-*.properties" -print -delete
|
|
- find $HOME/.sbt -name "*.lock" -print -delete
|