File tree Expand file tree Collapse file tree 1 file changed +54
-0
lines changed Expand file tree Collapse file tree 1 file changed +54
-0
lines changed Original file line number Diff line number Diff line change
1
+ language : c
2
+ env :
3
+ global :
4
+ - TARGET_BOARD=odroidxu4
5
+ - TRAVIS_SECURE_ENV_VARS=true
6
+ - ARCH=arm
7
+ - CROSS_COMPILE=arm-linux-gnueabihf-
8
+ - DEB_PACKAGES="kernel-image kernel-headers"
9
+ addons :
10
+ apt :
11
+ packages :
12
+ - gcc-arm-linux-gnueabihf
13
+ - fakeroot
14
+ - po-debconf
15
+ - xmlto
16
+ - wput
17
+ git :
18
+ depth : 3
19
+
20
+ before_install :
21
+ - wget http://archive.ubuntu.com/ubuntu/pool/universe/k/kernel-package/kernel-package_13.018_all.deb
22
+ - sudo dpkg -i kernel-package_13.018_all.deb
23
+
24
+ install :
25
+
26
+ script :
27
+ - make ${TARGET_BOARD}_defconfig
28
+ - if [ ! -f REPORTING-BUGS ]; then ln -s Documentation/admin-guide/reporting-bugs.rst
29
+ REPORTING-BUGS; fi
30
+ - sed -i "s/^CONFIG_LOCALVERSION.*/CONFIG_LOCALVERSION=\"-${TARGET_BOARD}\"/g" .config
31
+ - sed -i "s/^CONFIG_LOCALVERSION_AUTO.*/CONFIG_LOCALVERSION_AUTO=n\"/g" .config
32
+ - touch .scmversion
33
+ - CONCURRENCY_LEVEL=5 KDEB_PKGVERSION=1 DEB_HOST_ARCH=armhf make-kpkg --arch ${ARCH}
34
+ --cross-compile ${CROSS_COMPILE} --rootcmd fakeroot --initrd --append-to-version
35
+ -armmp-lpae --revision ${TRAVIS_BUILD_NUMBER} ${DEB_PACKAGES}
36
+
37
+ before_deploy :
38
+ -
git config --global user.email "[email protected] "
39
+ - git config --global user.name "Dongjin Kim"
40
+ - export GIT_TAG=travis/${TARGET_BOARD}-${TRAVIS_BUILD_NUMBER}
41
+ - git tag ${GIT_TAG} -a -m "Tagged by Travis (${TRAVIS_BUILD_NUMBER})"
42
+ - git push --quiet https://tobetter:${PRIVATE_ACCESS_TOKEN}@github.com/tobetter/linux ${GIT_TAG}
43
+
44
+
45
+ deploy :
46
+ provider : releases
47
+ api_key :
48
+ secure : ${PRIVATE_ACCESS_TOKEN}
49
+ file_glob : true
50
+ file : ../*.deb
51
+ skip_cleanup : true
52
+ on :
53
+ tags : false
54
+ all_branches : true
You can’t perform that action at this time.
0 commit comments