-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
46 lines (35 loc) · 1 KB
/
.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
40
41
42
43
44
45
46
language: scala
jdk: oraclejdk8
# We define the script in the build matrix
script: echo "No script specified" && false
cache:
directories:
- "$HOME/.m2"
- "$HOME/.ivy2"
- "$HOME/.sbt"
- .prereq-refs
before_cache:
- rm -Rf $HOME/.ivy2/.sbt.cache.lock
- rm -Rf $HOME/.ivy2/.sbt.ivy.lock
matrix:
include:
# - stage: Prerequisites (level -2)
# name: blended sbt plugins
# script:
# - sh -e scripts/build-prereq.sh sbt-testlogconfig
# - sh -e scripts/build-prereq.sh sbt-jbake
# - sh -e scripts/build-prereq.sh sbt-filterresources
- stage: Prerequisites (level -1)
name: blended core
script: sh -e scripts/build-prereq.sh blended
- stage: Build and Test
script: sbt ciBuild
- stage: VerifyPublish
script: sh -e scripts/verifyPublish.sh
- stage: Deploy
script: sh -e scripts/runPublish.sh
stages:
- name: VerifyPublish
if: branch = publish AND type = push
- name: Deploy
if: branch = publish AND type = push