forked from VDR4Arch/vdr4arch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
55 lines (44 loc) · 1.04 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
branches:
only:
- master
arch:
- amd64
os: linux
dist: bionic
env:
global:
- REPO_MAKE_CACHE=$HOME/cache
- REPO_MAKE_TARGET=$HOME/repo
- REPO_MAKE_PKGBUILDS=$TRAVIS_BUILD_DIR
jobs:
- REPO_MAKE_ARCH=x86_64
REPO_MAKE_MAKEPKG_CONF=./.ci/makepkg.conf
- REPO_MAKE_ARCH=armv6h
REPO_MAKE_MAKEPKG_CONF=./.ci/makepkg-armv6h.conf
- REPO_MAKE_ARCH=armv7h
REPO_MAKE_MAKEPKG_CONF=./.ci/makepkg-armv7h.conf
language: generic
git:
quiet: true
cache:
directories:
- $HOME/cache
before_script:
- ./.ci/setup_cross_compile.sh
- git clone https://github.com/VDR4Arch/$REPO_MAKE_ARCH.git --branch master --single-branch $HOME/repo || true
- rm -rf $HOME/repo/.git
script:
- sudo ./.ci/repo-make-ci.sh
before_deploy:
- sudo chown -R $USER:$USER $HOME/repo
- ./.ci/genindex.sh $HOME/repo $REPONAME
deploy:
provider: pages
token: $GITHUB_TOKEN
skip_cleanup: true
local_dir: $HOME/repo/
repo: VDR4Arch/$REPO_MAKE_ARCH
target_branch: master
on:
repo: $TRAVIS_REPO_SLUG
branch: master