-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
39 lines (38 loc) · 1.69 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
language: android
before_install:
- openssl aes-256-cbc -K $encrypted_0b5eff37ea82_key -iv $encrypted_0b5eff37ea82_iv
-in secrets.tar.enc -out secrets.tar -d
- tar xvf secrets.tar
- cp $TRAVIS_BUILD_DIR/my-release-key.keystore $TRAVIS_BUILD_DIR/android/app/my-release-key.keystore
- cp $TRAVIS_BUILD_DIR/keystore.properties $TRAVIS_BUILD_DIR/android/keystore.properties
- nvm install 6
- node --version
install:
- npm install
android:
components:
- tools
- build-tools-23.0.1
- build-tools-25.0.3
- platform-tools
- android-23
- extra-android-m2repository
- extra-google-google_play_services
- extra-google-m2repository
- addon-google_apis-google-16
licenses:
- android-sdk-preview-license-.+
- android-sdk-license-.+
- intel-android-extra-license.+
script:
- cd android && ./gradlew assembleRelease
deploy:
provider: releases
api_key:
secure: n501fXTThlY2MlvHN9MRyi2b64r3AOZscGdxWzKJJahxk+0SBKQ0lgn4/7tNTiwXnkGAbMQJ2CaN5ROf+ver3g/G4bSkJtssTn6FnZkchNVptFIdo/DLCSdatDwha6h9Np0NQtJk5Po+O66rFAGxabDqs5+fjdfcY3hs2xh9IRzj/EHYvRnTatgB5GyYySVCTD7fo8m0F4SA1UsH+SoUYCK3C3S4YU8P5Dg3dwXOT6cokpfS4qGjQCkN82aidhuT395tVajTJSnqo8++0WjaWDbnGHOJL6AeiwwZAxsoTEAXQZLFjvc2eK2IsYgLssMCbgD5yoaezuuh4yn1aSM3c/rQA6PxZJ543UhxiDzYnQqZSTUI79CajLwuHx1+1+dxqQR3UK1MWcZ/57FRqz4Qtsg06EP5bR1AZc9vPMHCAJHMaaTeJYPBhkj23xNXLfRYHcLKRlPVKIPKLRECGZUKd6zD+u4dVtO9gF0GzilaIxzTq4YtcAJN1pogQmr4L/w06dDFuBRm26abnHLjVRH6Ci0erMF1JEJui08g5hvIAIUO8AdwErmbJx7RfU94lFmr+nzSDAevaC7cE5sRFJcIPpyb/fpTxV9kDgg3YJRHZDHtyegWmiwab+Etn6qZXaLaGKbYbZs9afGfeH8zck8MoyaoD8HVWnkhOFmPq5A85KY=
file: $TRAVIS_BUILD_DIR/android/app/build/outputs/apk/app-release.apk
skip_cleanup: true
on:
repo: totorototo/strava
tags: true
all_branches: true