forked from com-lihaoyi/fastparse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
37 lines (28 loc) · 1006 Bytes
/
.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
sudo: false
language: scala
stages:
- name: test
- name: release
if: (branch = master AND type = push) OR (tag IS present)
jobs:
include:
- script: "./mill __.jvm[2.12.7].test"
jdk: oraclejdk9
- script: "./mill __.jvm[2.13.0].test"
jdk: openjdk10
- script: "./mill __.js[2.12.7].test"
jdk: openjdk10
- script: "./mill __.js[2.13.0].test"
jdk: openjdk10
- script: "./mill all demo.fastOpt perftests.__.compile"
jdk: openjdk10
- script: "./mill demo.fullOpt && sbt readme/run"
jdk: oraclejdk8
- stage: release
script:
- echo "$PGP_SECRET" | base64 --decode | gpg --import
- ./mill __[2.12.7].publish --sonatypeCreds "$SONATYPE_USERNAME:$SONATYPE_PASSWORD" --release true --gpgPassphrase "$PGP_PASSPHRASE"
- stage: release
script:
- echo "$PGP_SECRET" | base64 --decode | gpg --import
- ./mill __[2.13.0].publish --sonatypeCreds "$SONATYPE_USERNAME:$SONATYPE_PASSWORD" --release true --gpgPassphrase "$PGP_PASSPHRASE"