-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
30 lines (30 loc) · 1.05 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
notifications:
email: false
language: c
compiler: gcc
env:
- SDK_URL=https://downloads.openwrt.org/barrier_breaker/14.07-rc3/ar71xx/generic/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2.tar.bz2
before_install:
- sudo apt-get install -y ccache
install:
- mkdir sdk && cd sdk
- curl $SDK_URL | tar -xj --strip-components=1
- ln -s $TRAVIS_BUILD_DIR/eiskaltdcpp $TRAVIS_BUILD_DIR/sdk/package/eiskaltdcpp
script:
- cd $TRAVIS_BUILD_DIR/sdk
- "./scripts/feeds update packages"
- "./scripts/feeds install bzip2"
- make package/eiskaltdcpp/download V=99
- make package/eiskaltdcpp/prepare V=99
- make package/eiskaltdcpp/compile V=99
- ls -la $TRAVIS_BUILD_DIR/sdk/bin/ar71xx/packages/
deploy:
provider: releases
api_key:
secure: gclYV0a3q36jUZmfQNCLGtrAf+ZbhdYc1W7s0bNouBeMdozp2AsJDiyqOQYX3rE2I+bOJXrxvsamqaTrNuzFk3bL00efuBrq/uGSwCxrn4/wl+Yt5S5iS7I6LCd3PEdzZLkG3Nbp6PKqng/ILO2XA3JnYkJ/jhIRJBLrpu0AWt0=
skip_cleanup: true
file_glob: true
file: "$TRAVIS_BUILD_DIR/sdk/bin/ar71xx/packages/eiskaltdcpp_*.ipk"
on:
tags: true
all_branches: true