mirror of https://github.com/sbt/sbt.git
Tweak .travis.yml
This commit is contained in:
parent
d852209172
commit
74d28eb1c4
14
.travis.yml
14
.travis.yml
|
|
@ -1,11 +1,13 @@
|
||||||
language: scala
|
language: java
|
||||||
scala: 2.12.7
|
|
||||||
os: linux
|
os: linux
|
||||||
jdk: oraclejdk8
|
jdk: openjdk8
|
||||||
|
git:
|
||||||
|
depth: false # https://stackoverflow.com/a/51727114/3714539
|
||||||
before_install:
|
before_install:
|
||||||
- git fetch --tags
|
- mkdir .bin && curl -Lo .bin/sbt https://raw.githubusercontent.com/paulp/sbt-extras/a56bf05b1113e251aeaf7542f48c45c6c2691d4d/sbt
|
||||||
script:
|
- export PATH="$(pwd)/.bin:$PATH"
|
||||||
- scripts/travis.sh
|
- export TRAVIS_SCALA_VERSION=2.12.8
|
||||||
|
script: scripts/travis.sh
|
||||||
stages:
|
stages:
|
||||||
- name: test
|
- name: test
|
||||||
- name: release
|
- name: release
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -euvx
|
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() {
|
lmCoursier() {
|
||||||
[ "${LM_COURSIER:-""}" = 1 ]
|
[ "${LM_COURSIER:-""}" = 1 ]
|
||||||
}
|
}
|
||||||
|
|
@ -55,8 +49,6 @@ addPgpKeys() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
downloadInstallSbtExtras
|
|
||||||
|
|
||||||
if sbtShading; then
|
if sbtShading; then
|
||||||
runSbtShadingTests
|
runSbtShadingTests
|
||||||
elif sbtPgpCoursier; then
|
elif sbtPgpCoursier; then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue