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