forked from spotify/scio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
51 lines (45 loc) · 3.23 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
language: scala
scala:
- 2.10.6
- 2.11.8
jdk: oraclejdk7
cache:
directories:
- $HOME/.sbt/boot
- $HOME/.ivy2/cache
before_script:
- ./scripts/travis.sh
script:
- if [[ "${TRAVIS_SCALA_VERSION%.*}" == "2.10" ]]; then
sbt ++$TRAVIS_SCALA_VERSION -Dbigquery.project=dummy-project clean test;
else
sbt ++$TRAVIS_SCALA_VERSION -Dbigquery.project=dummy-project clean scalastyle coverage test coverageReport coverageAggregate;
fi
# Test REPL:
- ./scripts/it-repl.sh $TRAVIS_SCALA_VERSION
# Tricks to avoid unnecessary cache updates
- find $HOME/.sbt -name "*.lock" | xargs rm
- find $HOME/.ivy2 -name "ivydata-*.properties" | xargs rm
after_success:
- bash <(curl -s https://codecov.io/bash)
- "[[ $TRAVIS_BRANCH == \"master\" ]] && grep -q SNAPSHOT version.sbt && sbt ++$TRAVIS_SCALA_VERSION publish"
notifications:
email:
before_deploy: sbt ++$TRAVIS_SCALA_VERSION "project scio-repl" clean assembly
deploy:
provider: releases
api_key:
secure: NiV4bqbGd36AvUqZR0HWTyJ2NhH4Lb9dMpw53nLygn+uA8nsyzl9a6f0mNYtNFWztofJ2V8oXG1Iy3a9SOvMXppv/z7vYaFSsepJzDPq4b5mb0iQoVlVYbhbNum36sucvxMaVFp57HjDDa+2wf8pt98Wmi7+aj7xmoEfJouW+Nu+EWjoFQ7fY2QV2Wm6r1/VWFDP8RT1ldtYpNkZA4dxSA3tXUXtcmOW5+CKjJD8/aiQozhZQ5glrmqPl6bD0cxB/Ag74WJWJoSJYT+cHzt5Crvrz+aRmvpbtEQMVOn7m464EBpeJKSariJeuWbie4HiGX+cZwtYJOuChERawIDiN5WANCQM6SkRTFVSOYrtZUC8XFphJUkYiFWTKtuxi5vcbAfXzU9DOgBYZBfSzVL6ezmiqI7G0NUfospjfqSkU2FqdNIonxRnAqbzQN8xEZQ61D2IylQRUVRpAWunsYNUMvVp0eEyPQACWuv0uMO7BHTETniJgymEoyt8pkwf54hhl2/Sgl9eXGeGnmnW/ldQ+1fqhKiZHlwtjsJK0ppXpNwrVgBs+xB/IvBbXcGsJZVbYpVD31pUvjMizNlpxeMeEzMfOU9mK4cx5Vu9m+hFXZTTq1Xl6YMOomrPKbqVaQa5j8US4qpbF2KyoA7DHGQ2pYl32ERMbLVLNShYckHzpPA=
file_glob: true
file: "scio-repl/target/scala-*/scio-repl-*.jar"
skip_cleanup: true
on:
scala: 2.11.8
tags: true
env:
global:
- secure: ptfQvlANdAWkOt7dDWvrHBh4cKVbtbMlZvcelLpdH1xJe1p/bqtKyye6/UC9mN33SIkRpn4DsDKltPlGrwwWEhxBVHelIX4Csmdwxg7Rg+/4G4LTpuiOtjsxh+dsqEBTRGIoF4HI1ioZSbGEetTg8h4RHv8DAyLWAaDZnu8tsTHyo/LJIiejlNQ9ILke8zcJvaNp59O0Vq9IkqtNZLGkR2MF1zNpF/FZYKLcoXJEc9QBkiOBOJYgPlTLXEZnt8oAGYl0XriUtapKUAt6lmHPsJ07UKmiVc6W4Rkj4KRqna3kjv12Cu8EuzTz4Rzw2h3QmyJMfee/AtVvQDNJI4Ww+3rSgdihzEWFe5jM75rxEOMT1HNDK38U/nt8oXQPcoUzOyp8B+IGyP5X1+DeybzQHklPbhllmc+cyowQF/AvGoEt1Urfat87daxHcEt7so0/gdo0QetoRGkVyrGIjD2R99Rond5Ug29HNvoBOFNE6CknogdGXurwC3NhDIxkx5CUUh1jUnx5FoLMq3FEBZqfv/8XRx21fMVG6b46h+aW2TDV56g9okhhYc72pSUCvrzURdE5VD/mgjYgnjPZEP/14zTmISAhiaU8KZQQbFUAXX+MeZwMU2LZqhSis9iN583pXV+Jprk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