forked from http4s/http4s
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (44 loc) · 1.37 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
47
language: scala
dist: trusty
jdk: oraclejdk8
env:
global:
- HUGO_VERSION=0.24.1
- LOGBACK_ROOT_LEVEL=WARN
- LOGBACK_EXCEPTION_PATTERN=%xThrowable{3}
notifications:
webhooks:
urls:
- secure: "aD5b1XnAbGJi6YYofSUdradQngsxkG+xlrbev2kv/xSxD3LtzEiUrewODYmDCPiAL3biTi9/4Ye5mkC7g0ksW1X5ZpW46c5cxpuICE14Ke8EdGF4xK7HW70GvK4We9s8xDddHR4QrNk6G216B+9IPgrnT/VkCaJ327AM5oGWoDY="
on_success: change
on_failure: always
on_start: never
sudo: required
cache:
directories:
- "$HOME/.coursier/cache"
- "$HOME/.ivy2/cache"
- "$HOME/.sbt/boot"
before_cache:
# Cleanup the cached directories to avoid unnecessary cache updates
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -print -delete
- find $HOME/.sbt -name "*.lock" -print -delete
jobs:
include:
- &tests
stage: Test
scala: 2.12.3-bin-typelevel-4
script: $TRAVIS_BUILD_DIR/bin/specialTest.sh
- <<: *tests
scala: 2.11.11-bin-typelevel-4
script: $TRAVIS_BUILD_DIR/bin/test.sh
- stage: Publish Site
scala: 2.12.3-bin-typelevel-4
script: $TRAVIS_BUILD_DIR/bin/publishSite.sh
- &publishSonatype
stage: Publish Sonatype
scala: 2.12.3-bin-typelevel-4
script: $TRAVIS_BUILD_DIR/bin/publishCentral.sh
- <<: *publishSonatype
scala: 2.11.11-bin-typelevel-4
script: $TRAVIS_BUILD_DIR/bin/publishCentral.sh