-
Notifications
You must be signed in to change notification settings - Fork 32
/
.travis.yml
62 lines (52 loc) · 2.21 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
# Test changes of this .travis.yml config before submitting them:
# http://lint.travis-ci.org/SecUpwN/Android-IMSI-Catcher-Detector
# ---------------------------------------------------------------
# Encrypt Travis CI settings using this tool by Konstantin Haase:
# https://rkh.github.io/travis-encrypt/public/index.html
# ---------------------------------------------------------------
language: android
sudo: false
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
env:
global:
# Encrypted Coverity Scan Token
- secure: "jRKgZfeAxDhqDIrySBESiij3Ot9cmVQ4CMB+IVpmf7Xjfek6By1ba7Y1lgMdLRPgvLkj3k5mMx1BMx2yeSCBp/+TZJ6Ezj3EVJ6HS2ctkAH4KzsiqlSCKiRgfOqKgzfnftCkNzXCEE3XLVLcv4iT5Ru/EBG85kEDViGrDBP+PxA="
android:
components:
- platform-tools
- tools
- build-tools-23.0.2
- android-23
- extra-android-m2repository
before_install: 'openssl aes-256-cbc -K $encrypted_dc771c3300d2_key -iv $encrypted_dc771c3300d2_iv -in keystore.jks.enc -out keystore.jks -d || true'
script: ./gradlew build check
before_deploy:
- cd AIMSICD/build/outputs/apk; ls -la; md5sum *-normal-release.apk > md5sum.txt; sha1sum *-normal-release.apk > sha1sum.txt; cd -
deploy:
skip_cleanup: true
provider: releases
api_key:
secure: hWL8k4eTm6RBA6JtY+zL/bFFm+f2eM466kKlHBrywukSXAThgX8VzHVu9I8u9bL1yP2j8R9XHmG+C49Fy8NZ85Hmj5ECFg3dGRhfxAzr3o3deP3Kaeo+LozGhOy/z2PvOPyHS7XqOK8kk8gmoMJ9jvhz+wFAbW9GxhKLYBMn81E=
file:
- AIMSICD/build/outputs/apk/AIMSICD-normal-release.apk
- AIMSICD/build/outputs/apk/md5sum.txt
- AIMSICD/build/outputs/apk/sha1sum.txt
on:
repo: SecUpwN/Android-IMSI-Catcher-Detector
tags: true
addons:
coverity_scan: #Scan results: http://scan.coverity.com/projects/3346
project:
name: "SecUpwN/Android-IMSI-Catcher-Detector"
notification_email: [email protected]
build_command_prepend: "./gradlew clean"
build_command: "./gradlew build"
branch_pattern: master
notifications:
hipchat:
- secure: "I2XmQkFCyKZHW2NeClYyl3FND80YkqLtYo+Rn3ftS4xjEg6VfGgDv6AlvQ+b+oZg7RZI6nKia9OLZxAxVBOHw6UcJJnurJx4hfAIBZAihIiNpZPj1c9wGgv4D+M6zi3rgbJRZ2Tz6IKJvHC+CD3LApeJR9kH15lDWbD7YZ0UI7E="