blob: d752c668b4dcf2f39347880b516a8fd522f07dc5 [file] [log] [blame]
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
addons:
apt:
packages:
- rpm
language: scala
scala:
- 2.12.6
- 2.11.12
jdk:
- oraclejdk8
- oraclejdk9
- oraclejdk11
sudo: required
dist: trusty
before_script:
- unset _JAVA_OPTIONS
script:
- sbt -J-Xms1g -J-Xmx5g ++$TRAVIS_SCALA_VERSION compile test:compile it:compile debug:compile || travis_terminate 1
- sbt -J-Xms1g -J-Xmx5g ++$TRAVIS_SCALA_VERSION test
- sbt -J-Xms1g -J-Xmx5g ++$TRAVIS_SCALA_VERSION it:test
- sbt -J-Xms1g -J-Xmx5g ++$TRAVIS_SCALA_VERSION daffodil-cli/universal:packageBin
- sbt -J-Xms1g -J-Xmx5g ++$TRAVIS_SCALA_VERSION daffodil-cli/universal:packageZipTarball
- sbt -J-Xms1g -J-Xmx5g ++$TRAVIS_SCALA_VERSION daffodil-cli/rpm:packageBin
- sbt -J-Xms1g -J-Xmx5g ++$TRAVIS_SCALA_VERSION daffodil-japi/genjavadoc:doc
- sbt -J-Xms1g -J-Xmx5g ++$TRAVIS_SCALA_VERSION daffodil-sapi/doc
- sbt -J-Xms1g -J-Xmx5g ++$TRAVIS_SCALA_VERSION ratCheck