-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
73 lines (63 loc) · 1.96 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
63
64
65
66
67
68
69
70
71
72
73
language: c
compiler: gcc
os: linux
dist: trusty
cache:
ccache: true
directories:
- ~/
before_install:
- wget https://raw.githubusercontent.com/davwheat/travis-ci-discord-webhook/master/send.sh
- chmod +x *.sh
- git config --global color.ui true
install:
- ./repo-setup.sh -t
- jdk_switcher use openjdk8
addons:
apt:
packages:
- gcc-4.8
- git-core
- gnupg
- flex
- bison
- gperf
- build-essential
- zip
- curl
- zlib1g-dev
- gcc-multilib
- g++-multilib
- libc6-dev-i386
- lib32ncurses5-dev
- x11proto-core-dev
- libx11-dev
- lib32z-dev
- libgl1-mesa-dev
- libxml2-utils
- xsltproc
- unzip
update: true
script: ./build.sh -n
before_deploy:
- git config --local user.name $GIT_NAME
- git config --local user.email $GIT_EMAIL
- export TRAVIS_TAG=${TRAVIS_TAG:-$(date +'%Y%m%d%H%M%S')-$(git log --format=%h -1)}
- git tag $TRAVIS_TAG
deploy:
provider: releases
skip_cleanup: true
api_key:
secure: UAJ+tY8zcU0Z0GgV8yiwpgd+w0XharkII0jktxkfIAPjqPPhwzUHWf1sq5gqEFW2O5uK78By3KG7QTEDkrSfT4A5CUg4cWAj98/Ovh6jbNej5smxBDweJLfStrKZ4hA67FVHY7BUFQyf6JAjsBhmht22f3u3p3H3duxyuvbuCYZ4C48WQQNNf5ZHVbAcHgm2HOrblaENwoByXcTtXgcOHrIKC1H6tyHNoVPTEnODnK2PC/JhbqsJWBpY8ycTqif8KHJsz9bXn6/3dVYTmXDpUt6B6+JdbT/NbMJqSJLg29dKCuQQbw8XxQe0zLvu8dHZH/ZLXmmJO8P/IOEi6VFm6pLoSUaJDnW4+Qtj8Ng3o+jUBNyY+xPea/18aq4xuHFN/RHzl0V68Og3M+8FUts/rokM2RGn1L7SHheWXpI1SJ9Lo44d05MlUrnexOyS/+wNaWZon1DbqN2PVP7Diias3IBBi6sj5qfHSix+vtjAAI1RBzp4v7XTX8Hsv0ofpwIcPB01S2k1UqutqqTBX1Ic1pP84VLk1amgem1jMftUZV+FG8gtiurjcrv4ZLNIR6U7JFPz0ZLqpovqZUxQHMGTijuLTzWF7RQmgYA0UkzdpHSg22/4MxpmnI83YaRQBVC9RggK9IkZ7OObxU1C46eGsT9V1ldKKEykRqZ7vwJ2Mig=
file_glob: true
file:
- "$TRAVIS_BUILD_DIR/boot-image/JareDav-*-travis-*.img"
- "$TRAVIS_BUILD_DIR/boot-image/zImage-dtb"
draft: true
on:
repo: quantify-nfc/Wear24-NFC-ROM-AOSP
branch: release
after_success:
- ./send.sh success $WEBHOOK_URL
after_failure:
- ./send.sh failure $WEBHOOK_URL