forked from SDCOAdvocates/minitouch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
32 lines (32 loc) · 1.52 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
env:
global:
- ANDROID_NDK_VERSION=r17b
- ANDROID_NDK_HOME=${TRAVIS_BUILD_DIR}/android-ndk-${ANDROID_NDK_VERSION}
- PATH=${PATH}:${ANDROID_NDK_HOME}
install:
- "./install-dependencies.sh"
script:
- "$ANDROID_NDK_HOME/ndk-build"
- "./build.sh"
after_success:
- tar -zcvf minitouch.tar.gz -C prebuilt .
before_deploy:
- tar -tvzf minitouch.tar.gz && ls -artl minitouch.tar.gz
# Set up git user name and tag this commit
- git config --local user.name "gounthar"
- git config --local user.email "gounthar@gmail.com"
- git add minitouch.tar.gz
- export TRAVIS_TAG=${TRAVIS_TAG:-$(date +'%Y%m%d%H%M%S')-$(git log --format=%h -1)}
- git tag $TRAVIS_TAG
deploy:
provider: releases
overwrite: true
skip_cleanup: true
api_key:
secure: R2dv/SAeMNZIrEVUUZv4ncbNN88GmC32kJww2G+NjP0TJPrcqzwxI+c4v2NgZ7O/dPIDI/t60dyL35BOfMyskwYrFntM34dq/5Vya8XWoFqF1z8208iYT80OOxB15DBPkRxHiW7OVfLz2kcdDYcrxRfWDqtc2cXNu4jIZlL8uO3wh4y9GMWJPdY07FFUVJalo+TYfcGueRWbK5HmP9Z4QDjE1i0AFtMf5xOsA55qFlBGEmMSQjnuI/a7AkBr8okboze/QKeZgZKehQe7ob/eIUzjBd+dzlQuWE0hihSosM3BmxLEyki0BkddJIO8TvmPeftCQACtmZQkZFyx1P/sQPodrhMfKjgtjYMclxW9cJL/x8qVmWVFM/PZI+HKREArOxXZhrayQ13rnaI3Iahv9w4UKT8DBIKSqnikmiJuDF57Nhpal3p/9wS4Ngq261BmZJCMuFwWbb+vq4CMeMcxNPoAg7c62RTsF5OYUVrP8uMjVgr4tDgyf4tc4Q0SNoZY2GMbzJuIRrICTSZriKQKfJnmHgHFyK1IAoa40CiJkp343nOFp2s4WThyYj+CrOGdGi5b1hXT/5IagPbLkhKodqfViTWly3Mvr8iMjWuRkiTF+D5qrFfSPw80AG4jWKjpStJKg/kytL5HaZvYE9lY9PxbEGsvFbzl4LJRPrKpETE=
file:
- minitouch.tar.gz
on:
repo: SDCOAdvocates/minitouch
#tags: true
branch: master