Tweak .travis.yml

This commit is contained in:
Alexandre Archambault 2019-03-04 12:29:29 +01:00
parent d852209172
commit 74d28eb1c4
2 changed files with 8 additions and 14 deletions

View File

@ -1,11 +1,13 @@
language: scala
scala: 2.12.7
language: java
os: linux
jdk: oraclejdk8
jdk: openjdk8
git:
depth: false # https://stackoverflow.com/a/51727114/3714539
before_install:
- git fetch --tags
script:
- scripts/travis.sh
- mkdir .bin && curl -Lo .bin/sbt https://raw.githubusercontent.com/paulp/sbt-extras/a56bf05b1113e251aeaf7542f48c45c6c2691d4d/sbt
- export PATH="$(pwd)/.bin:$PATH"
- export TRAVIS_SCALA_VERSION=2.12.8
script: scripts/travis.sh
stages:
- name: test
- name: release

View File

@ -1,12 +1,6 @@
#!/usr/bin/env bash
set -euvx
downloadInstallSbtExtras() {
mkdir -p bin
curl -L -o bin/sbt https://github.com/paulp/sbt-extras/raw/9ade5fa54914ca8aded44105bf4b9a60966f3ccd/sbt
chmod +x bin/sbt
}
lmCoursier() {
[ "${LM_COURSIER:-""}" = 1 ]
}
@ -55,8 +49,6 @@ addPgpKeys() {
}
downloadInstallSbtExtras
if sbtShading; then
runSbtShadingTests
elif sbtPgpCoursier; then