-
Notifications
You must be signed in to change notification settings - Fork 22
/
.travis.yml
61 lines (60 loc) · 2.8 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
language: java
git:
depth: 3
matrix:
include:
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8
script:
- pushd boringssl
- ./build-boringssl.sh
- rm -rf boringssl*
- popd
- curl -L -o proguard.tgz https://sourceforge.net/projects/proguard/files/proguard/6.0/proguard6.0.3.tar.gz
- tar -xvzf proguard.tgz > unzip.log
- ./gradlew assemble
- ./gradlew check
- ./gradlew packageArtifacts
- mv cdep/build/libs/cdep-${TRAVIS_TAG:-dev}.jar cdep/build/libs/cdep-${TRAVIS_TAG:-dev}-unopt.jar
- proguard6.0.3/bin/proguard.sh @proguard.txt -injars cdep/build/libs/cdep-${TRAVIS_TAG:-dev}-unopt.jar -outjars cdep/build/libs/cdep-${TRAVIS_TAG:-dev}.jar > proguard.log
- pushd smoke-test
- ../travis_cdep
# Build smoke-test
- ../cmakeify --group-id com.github.jomof --artifact-id smoke-test --target-version 0.0.0
# Build ndk-build examples
- rm -rf downloaded-packages/
- .cmakeify/tools/android-ndk-r13b/ndk-build NDK_PROJECT_PATH=.cdep/examples/ndk-build
# Build CMake examples
- ../cmakeify -wf .cdep/examples/cmake --group-id com.github.jomof --artifact-id smoke-test-examples --target-version 0.0.0
- popd
deploy:
api_key:
secure: sn6zm8ubAhImViHMUnTi+tbY10Xgk9vVRw+MP0MMZjmfZfLlbtsAD+zhrC//hfif9kSnM/ME8BezSbStwlkXveR53hUHp8R2KqN5EifVRe7OXHTOE/uzA6nKhw7oqliuOA8BM3VeugTx0mrLT/tVi5/S/MCPakcuS163W+w6kGe9xCDEwy1DeBIPLiMusw+uaaXzxJp813kLOPAPVgO3rBO29xG9+7Pttll7TARDO4TuKuJXBJ6EkYbH08W+OeD77jSRp1fN0RT/lagABh496/PrwKqo3XOj+Lx1IJmx2xuo3Hwt7O/2llisvcf/ZHFRNT53RCqVGJBo7E7+6gZ7jxgrLdQgDLvISOuzIBSQE6Zp4T193h8iKTSOb6SRZZf/gomS7Zr28zP3vXApr9vKVRCRsLJZS72hahSTVzYZkqErAt3x9VsF1E+uQvC8iWmk8Scy41I2QCkAXsZp29FuuT76RNkdkPvy5GOtIC52Rn9lKx7vGhDseHv9wrHiYB7ZDYsCIaIzowx5qQO2CZ9vuMJIMxbDSNW329O54IdcWfnlk7lTsoNIZWy0WAq5h8A/6aGhCjEAWFUXywIhsScgP2niU3joa+hkzOcrgj6lSLMUu6nEffQ945ogMHcAmL6z0wQXk9V5E12YXTVkd+OzUxgL0/PNmx8Hs7gfz32DvNM=
file:
- cdep/build/libs/cdep-${TRAVIS_TAG}.jar
- cdep/build/libs/cdep-${TRAVIS_TAG}-sources.jar
- cdep/build/libs/cdep-${TRAVIS_TAG}-javadoc.jar
- ".package/redist.zip"
- proguard.map
- proguard.log
- boringssl/boringssl-sources.zip
- boringssl/boringssl-sources-url.txt
- boringssl/cdep-boringssl-android-platform-14-armeabi-v7a.zip
- boringssl/cdep-boringssl-android-platform-14-x86.zip
- boringssl/cdep-boringssl-android-platform-21-arm64-v8a.zip
- boringssl/cdep-boringssl-android-platform-21-armeabi-v7a.zip
- boringssl/cdep-boringssl-android-platform-21-armeabi-v7a.zip
- boringssl/cdep-boringssl-android-platform-21-x86_64.zip
- boringssl/cdep-boringssl-android-platform-21-x86.zip
- boringssl/cdep-boringssl-headers.zip
- boringssl/cdep-manifest-boringssl.yml
provider: releases
skip_cleanup: true
on:
tags: true