forked from typelevel/scalacheck
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
94 lines (90 loc) · 3.49 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
language: scala
script: ./tools/travis-script.sh
after_success: ./tools/travis-deploy.sh
branches:
only:
- master
- 1.14.x
- 1.15.x
notifications:
email:
scala:
- 2.11.12
- 2.12.10
- 2.13.1
jdk:
- openjdk8
- openjdk11
env:
global:
- secure: PwIb1un8vuuyoidnjHaKO81FD49n5ZTVEnf6hVKkMRe3hipr+WGWv19m92yE/n34ROFo1BM9DmfYxaexlE0pI2o/a5MV1i3kNSwUk+Yt8uU6F4+nyQKROQUe76UtAtXmsYgLqXaWSW0+EVidMyhSktkXXxiU5wCGLdKkPu3Vj9w=
- secure: KeZRD91oE4UzwhSJfjllkwNXnerDGQJSIOuRLVtbLCq0JJnAfj6B7fvI2KyZqQwuhYrUyYOSbSLd6BAi75bBYMb3D1yNdyPA5gHDg5aj96ALojrOuU60+/dOQ0Rg6Pf2UiTlFAXzz1mud8+Q3svaeKX4JDVxj329T3ReBspjyBY=
matrix:
- PLATFORM=jvm SBT_PARALLEL=true WORKERS=4 DEPLOY=false
- PLATFORM=js SBT_PARALLEL=true WORKERS=1 DEPLOY=false
- PLATFORM=js SBT_PARALLEL=true WORKERS=1 DEPLOY=false SCALAJS_VERSION=1.0.1
- PLATFORM=jvm SBT_PARALLEL=true WORKERS=4 DEPLOY=true
- PLATFORM=js SBT_PARALLEL=true WORKERS=1 DEPLOY=true
- PLATFORM=js SBT_PARALLEL=true WORKERS=1 DEPLOY=true SCALAJS_VERSION=1.0.1
sudo: false
before_cache:
- rm -fv $HOME/.ivy2/.sbt.ivy.lock
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -print -delete
- find $HOME/.sbt -name "*.lock" -print -delete
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt
- $HOME/.cache/coursier
matrix:
include:
- scala: 2.11.12
before_script:
- curl https://raw.githubusercontent.com/scala-native/scala-native/master/scripts/travis_setup.sh | bash -x
env: PLATFORM=native SBT_PARALLEL=true WORKERS=1 DEPLOY=true
- scala: 2.11.12
before_script:
- curl https://raw.githubusercontent.com/scala-native/scala-native/master/scripts/travis_setup.sh | bash -x
env: PLATFORM=native SBT_PARALLEL=true SCALANATIVE_VERSION="0.4.0-M2" WORKERS=1 DEPLOY=true
- env: EXAMPLES
script:
- cd examples
- for d in */ ; do cd "$d" && sbt test:compile && cd ../ ; done
- env: BENCH
script:
- sbt "+bench/jmh:run -p genSize=0 -p seedCount=0 -bs 1 -wi 0 -i 1 -f 0 -t 1 -r 0 org.scalacheck.bench.GenBench"
- env: SCALAFIX
script:
- cd scalafix
- sbt tests/test
- scala: 0.24.0-RC1
env: PLATFORM=jvm SBT_PARALLEL=true WORKERS=1 DEPLOY=true
exclude:
- jdk: openjdk8
env: PLATFORM=jvm SBT_PARALLEL=true WORKERS=4 DEPLOY=false
- jdk: openjdk8
env: PLATFORM=js SBT_PARALLEL=true WORKERS=1 DEPLOY=false
- jdk: openjdk8
env: PLATFORM=js SBT_PARALLEL=true WORKERS=1 DEPLOY=false SCALAJS_VERSION=1.0.1
- jdk: openjdk11
env: PLATFORM=jvm SBT_PARALLEL=true WORKERS=4 DEPLOY=true
- jdk: openjdk11
env: PLATFORM=js SBT_PARALLEL=true WORKERS=1 DEPLOY=true
- jdk: openjdk11
env: PLATFORM=js SBT_PARALLEL=true WORKERS=1 DEPLOY=true SCALAJS_VERSION=1.0.1
- scala: 2.11.12
env: PLATFORM=js SBT_PARALLEL=true WORKERS=1 DEPLOY=false SCALAJS_VERSION=1.0.1
- scala: 2.11.12
env: PLATFORM=js SBT_PARALLEL=true WORKERS=1 DEPLOY=true SCALAJS_VERSION=1.0.1
- jdk: openjdk11
env: PLATFORM=js SBT_PARALLEL=true WORKERS=1 DEPLOY=false
- jdk: openjdk11
env: PLATFORM=js SBT_PARALLEL=true WORKERS=1 DEPLOY=true
- jdk: openjdk11
env: PLATFORM=js SBT_PARALLEL=true WORKERS=1 DEPLOY=false SCALAJS_VERSION=1.0.1
- jdk: openjdk11
env: PLATFORM=js SBT_PARALLEL=true WORKERS=1 DEPLOY=true SCALAJS_VERSION=1.0.1
- jdk: openjdk11
scala: 2.11.12