This repository has been archived by the owner on Dec 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy path.travis.yml
58 lines (55 loc) · 5.58 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
language: android
android:
components:
# The BuildTools version used by your project
- build-tools-23.0.2
# The SDK version used to compile your project
- android-23
jdk:
- oraclejdk7
before_install:
- echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list
- sudo apt-get update -qq
- sudo apt-get install -qq -y --force-yes sbt
- |
# BasePlugin requires those to be set
# secure values are not available in pull-request from other repos
# real credentials are only required on master branch or tag after succesfull build
if [ "${TRAVIS_PULL_REQUEST}" != "false" ]
then
export S3_ACCESS_KEY="invalid"
export S3_SECRET_KEY="invalid"
fi
script: sbt compile test
notifications:
email: false
env:
global:
- secure: "vc049RyHxdkTSfoLmITY/XFQ80zbLRWXrJfZGVPnO1ivvtZCmIvQZJl03N5Xtys6vj9Qt8JpmCXK4NWy5EzYRDiqrQtC+RJM3XqrnnOdb+B9s3AMENj2MpRtM8DxLG0OihhhMtrUFAEJS2JQuv5OAfuNwAjbuuWxLt0G95nHAabiMHj3RjOQrnrHfhrkCKNwATvxNAu+7E6/ZqwdAiHj4+tffLj3fl8uxp81nClouUGCMeF0HNAN2IKEHrG0onnTKy6VCu87XoTesjIFNAYzqzjmXkuQpqZw/dQXU7cWAFWEoFP2WCmOSmGXo+t9tJlatU5Sw5QKAKGkJZXO20IWmUAZZZuu2Rp1iBuCAEAclOqkkEGHxuS4PnFLLt+tt3tMEe6YnBvAC6tMavZZRNPIf/aNRZ149lcV1G//4C5O007tvLDoJ9qdmW/g1E3+F4i1hrOXlgysDN/jH1HF+4g+e2Dm4k4NaR7ASlPAsGPZgulh6Uo/A2Yz4wRbrMDY+4A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S7A0/cydzpAGL8IboELsu3vBSZ1qHc+8zIsL1fxTMGp/JeMcrY4C+V1ViBKPccJY0ozfbAvsvRtQTJDRjWuk8Iba7K0ObbUOEmM="
# publish artifcats
after_success:
- ! '[[ $TRAVIS_BRANCH =~ ^(v[0-9]+\.[0-9]+\.[0-9]+)$ && $TRAVIS_PULL_REQUEST
= false ]] && ./create_credentials.sh && sbt publish'
# publish docs
before_deploy:
- sbt doc
- mkdir -p docs/$TRAVIS_BRANCH
- cp -a android/target/api docs/$TRAVIS_BRANCH/android
- cp -a core/target/api docs/$TRAVIS_BRANCH/core
deploy:
provider: s3
access_key_id:
secure: "xt56M+4BkowHVeQOv9zWPcK3JutzMTRnKwPkwInQiR7cyD96/4U6QxRUxKiosiebIqTSxIGnSnBYNZIk14rN6ZsI0SDpwEfym9AFm/UkNWZfMRx7oCYdmHGaVNVrH+GZsk/89LqxSKuclq6ZkA4wp1wc5VtnjRcCBXVDeKlO1qH7tO+x2PopFnaRaB5MmYZA729ysEmApUqS77QoHdhXo94oLB25nVRDtaATY+FW7SJwU/wIoZoaTWpuc8hb73Z0sjzpzaSjDdB8gjFxRJaOI/498cqZFG4VtD3KH5ydcF7/rukvmlnAqeWGeF3jFow4itbvATsHmJq+4rde+RdKcFSmwpXrPv8LGBS/2YNomAiRzsJ0evUCEWa5EAGaG7TU62QcRJI+pUi4hIBlVOtlLAQaDBZDuoIWKrQEg2onQ4BrBLNJeG4nJPvg/rOH5WrKNDcc9dv0LCQDDTvu8LQWG/Y2bNihSZMZ2OebaaUWmCUd5OfhNR/wM2Mw3ETz1tqUT37L6DUx65IO6nJODS4JuofAaAbzIodAx3ACxyJNDD26ur0ewdPBYZH8GVUfdCcNizdPc/OzzknnoxVSh2fWXRP3vHUq0PdHYMWvEwgoJhHlNcpchkx5y+7Y7BBnNc15WU2NQxIjpY7awCQwqVtlS5dn7ybCSbx8dvsvChalm00="
secret_access_key:
secure: "h9deVGGtmmvPwpsv2QsxJZYrdpPueEs7+wnJcn5KDyFJArObrAfvrKe7rqnJ2QKqrW5fryepxgRxurs6czU2O/jb8hab2rDas4HFCR6wYzAjCUteezq5pv5iqx49ZCTnV7U5ojDguGXBmL7lrYcRIKUmTwkFYirIYxn3+yHXE7IZEiihy8I42cQBGpBk+XybHrD1UCioY+d6Rngf0LQkjzr7t4tliBP/xf/sSLhPlvBYotUjCUdPoLYOkAlSRCkcNSvUI193EjbQXZldqC8eRF71MJevgE89IMVTOL6k2TjMp6GoCorO8AUUc9AGUxHqMYpBQtKjOznP91duK1aNsi+cKFZOM27FB5ftPQD/cVqcl/hBS+PfTad6kBBXOETpo6Rd1lOdC5FcD0v6f8Qvgy3eTTAWuAJALC4zTngpCfxuc/DXEnVhzdD+RF/TLbqT7pFtY5nG7lbzmHqD+x7wdpBRaEVltwY4BkzEbzkhlUMujBK7CI4TiButE0sOW4qCPATr3HSCa8wCdDC/w537XYDKTOpkhkByP1CNRW1iIeMLvLtVUGS+8SyRxaACC1olgYAiADHNce62fFV0Li1Om3IXF63HFo9wkpmfG3CzXgiQI4Wo+jBcUeHnTRA7txYl+v5l2U0oH7ZPB8bngYrS/NCJYaRT6JyaZ6gwCcKk3tU="
bucket: nordpol.fidesmo.com
region: eu-west-1
endpoint: nordpol.fidesmo.com.s3-website-eu-west-1.amazonaws.com
local_dir: docs
acl: public_read
skip_cleanup: true
on:
condition: '$TRAVIS_BRANCH =~ ^(v[0-9]+\.[0-9]+\.[0-9]+|master)$ && $TRAVIS_PULL_REQUEST = false'