forked from fthomas/refined
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
59 lines (52 loc) · 1.5 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
51
52
53
54
55
56
57
58
59
language: scala
jdk:
- oraclejdk8
sudo: false
addons:
apt:
packages:
- graphviz
before_install:
- git fetch --tags
cache:
directories:
- "$HOME/.ivy2/cache"
- "$HOME/.sbt/boot/"
stages:
- name: test
- name: release
if: (branch = master AND type = push) OR (tag IS present)
jobs:
include:
- language: shell
script:
- bash -c 'shopt -s globstar; shellcheck **/*.sh'
- scala: 2.11.12 # Remember to update this in build.sbt, too.
sudo: required
before_install:
- curl https://raw.githubusercontent.com/scala-native/scala-native/master/scripts/travis_setup.sh | bash -x
script:
- sbt ++$TRAVIS_SCALA_VERSION validateJVM &&
sbt ++$TRAVIS_SCALA_VERSION validateJS &&
sbt ++$TRAVIS_SCALA_VERSION validateNative
- scala: 2.12.8 # Remember to update this in build.sbt, too.
install:
- pip install --user codecov
script:
- sbt ++$TRAVIS_SCALA_VERSION validateJVM &&
sbt ++$TRAVIS_SCALA_VERSION validateJS
after_success:
- codecov
- scala: 2.13.0-M5 # Remember to update this in build.sbt, too.
script:
- sbt ++$TRAVIS_SCALA_VERSION catsJVM/test coreJVM/test scalacheckJVM/test scalazJVM/test shapelessJVM/test &&
sbt ++$TRAVIS_SCALA_VERSION catsJS/test coreJS/test scalacheckJS/test scalazJS/test shapelessJS/test
- stage: release
script: sbt ci-release
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/a22ea519223977cc7fc9
on_success: change
on_failure: always
on_start: never