-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
37 lines (31 loc) · 971 Bytes
/
.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
language: C
dist: trusty
before_install:
# Importent Build-Config
- export DEVICE=j13g
- export TCLINK=https://github.com/Parthib24/armebi-4.9-toolchain
- export OFOLDER=$PWD/arch/arm/boot
##
- git clone $TCLINK toolchain
- export CROSS_COMPILE=$PWD/toolchain/bin/arm-eabi-
- sudo apt-get -qq update
- sudo apt-get install -y build-essential kernel-package libncurses5-dev bzip2 curl
# we're not installing anything
install: true
script:
- export KBUILD_BUILD_USER=parthib24
- export KBUILD_BUILD_HOST=travis-server
# compiling commands (main)
- make j13g-dt_hw01_defconfig
- make #2>> $OFOLDER/zEWlog_$(date +%b-%d-%Y-%H:%M).txt
# this part uploads output to a cloud
- cd $OFOLDER
- zip Kernel_$DEVICE-$(date +%b%d%Y%H%M).zip z*
- echo "Uploading Output" && curl --upload-file Kernel* https://transfer.sh
deploy:
provider: releases
file: "$OFOLDER/zImage"
skip_cleanup: true
on:
tags: true
all_branches: true