Skip to content

Commit

Permalink
Merge pull request #715 from larsrh/topic/osx-take2
Browse files Browse the repository at this point in the history
Travis: build on OS X (take 2)
  • Loading branch information
muuki88 committed Dec 13, 2015
2 parents 57c938d + 2ce78fa commit 7c2b66e
Show file tree
Hide file tree
Showing 2 changed files with 566 additions and 8 deletions.
28 changes: 20 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,32 @@
language: scala
language: java
os:
- linux
- osx
env:
- SCALA_VERSION=2.10.5
before_install:
- if [[ "$TRAVIS_OS_NAME" = "osx" ]]; then
brew update;
brew install xz;
fi
script:
- sbt ++$TRAVIS_SCALA_VERSION --warn update compile test:compile && sbt ++$TRAVIS_SCALA_VERSION test "scripted rpm/* debian/* universal/* jar/*"
scala:
- 2.10.5
jdk:
- openjdk7
- oraclejdk8
- ./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/*";
fi
notifications:
email:
- qbranch@typesafe.com
addons:
apt:
packages:
- rpm
matrix:
include:
- os: linux
jdk: openjdk7
- os: linux
jdk: oraclejdk8

sudo: false
cache:
Expand Down
Loading

0 comments on commit 7c2b66e

Please sign in to comment.