forked from sbt/sbt-native-packager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (38 loc) · 897 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
33
34
35
36
37
38
39
language: java
os:
- osx
env:
- SCALA_VERSION=2.10.5
before_install:
- if [[ "$TRAVIS_OS_NAME" = "osx" ]]; then
brew update;
brew install xz;
fi
script:
- ./sbt ++$SCALA_VERSION --warn update compile test:compile
- ./sbt ++$SCALA_VERSION test "scripted universal/* jar/*"
- if [[ "$TRAVIS_OS_NAME" = "linux" ]]; then
./sbt ++$SCALA_VERSION "scripted rpm/* debian/* docker/staging docker/entrypoint docker/ports docker/volumes";
fi
- if [[ "$TRAVIS_JDK_VERSION" = "oraclejdk8" ]]; then
./sbt ++$SCALA_VERSION "scripted jdkpackager/test-package-minimal jdkpackager/test-package-mappings";
fi
notifications:
email:
addons:
apt:
packages:
- rpm
matrix:
include:
- os: linux
jdk: openjdk7
- os: linux
jdk: oraclejdk8
sudo: false
cache:
apt: true
directories:
- $HOME/.sbt
- $HOME/.ivy2