forked from endpoints4s/endpoints4s
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
67 lines (56 loc) · 3.78 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
language: scala
cache:
- directories:
- $HOME/.ivy2/cache
- $HOME/.sbt
# See http://www.scala-sbt.org/0.13/docs/Travis-CI-with-sbt.html
# Tricks to avoid unnecessary cache updates
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
# based on https://github.com/jruby/jruby/blob/master/.travis.yml
before_install:
- unset _JAVA_OPTIONS
- export JAVA_OPTS="$JAVA_OPTS -Xms512m -Xmx2048m"
install:
- npm install [email protected]
before_script:
- unset _JAVA_OPTIONS # travis/travis#8408
- echo $HOME
- echo $JAVA_OPTS
jdk:
- oraclejdk8
jobs:
include:
- stage: test
scala: 2.11.12
script: sbt "wow $TRAVIS_SCALA_VERSION" test manual/makeSite
- stage: test
scala: 2.12.8
script: sbt "wow $TRAVIS_SCALA_VERSION" test
- stage: test
scala: 2.13.0-M5
# requires strict aggregation because 2.13 is not supported by all the modules
script: sbt "+++$TRAVIS_SCALA_VERSION test"
- stage: coverage
script:
- sbt "wow 2.11.12" coverage test coverageReport coverageAggregate
- bash <(curl -s https://codecov.io/bash)
- stage: publish
if: tag =~ ^v
script:
- openssl aes-256-cbc -K $encrypted_6d2e0e4487f6_key -iv $encrypted_6d2e0e4487f6_iv -in ci/secrets.tar.enc -out ci/secrets.tar -d
- tar xvf ci/secrets.tar
- chmod 600 ci/travis-key
- eval "$(ssh-agent -s)"
- ssh-add ci/travis-key
- sbt "wow 2.11.12" manual/makeSite +publishSigned sonatypeReleaseAll manual/ghpagesPushSite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