forked from milessabin/shapeless
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
50 lines (42 loc) · 1.06 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
48
49
50
os: linux
dist: trusty
language: scala
jdk:
- oraclejdk8
scala:
- 2.11.12
- 2.12.11
- 2.13.1
env:
- {}
- SCALA_JS_VERSION=0.6.32
- SCALA_JS_VERSION=1.0.1
stages:
- name: test
- name: release
if: ((branch = master AND type = push) OR (tag IS present)) AND NOT fork
cache:
directories:
- $HOME/.cache/coursier
- $HOME/.ivy2/cache
- $HOME/.sbt
script: sbt ++$TRAVIS_SCALA_VERSION! clean validateCI
notifications:
irc: "chat.freenode.net#shapeless"
webhooks:
urls:
- https://webhooks.gitter.im/e/e58e987de2f64f32c8c6
jobs:
include:
- stage: test
env:
- SCALA_NATIVE=true
before_install:
- curl https://raw.githubusercontent.com/scala-native/scala-native/master/scripts/travis_setup.sh | bash -x
- stage: release
before_install:
- git fetch --tags
- curl https://raw.githubusercontent.com/scala-native/scala-native/master/scripts/travis_setup.sh | bash -x
script:
- sbt ci-release
- SCALA_JS_VERSION=0.6.32 sbt clean sonatypeBundleClean ci-release