Travis: Initial build attempt
Note: Forced Unix scripts to LF endings
This commit is contained in:
parent
a2ad348ed8
commit
687f31fdae
2
.gitattributes
vendored
2
.gitattributes
vendored
@ -1,3 +1,5 @@
|
||||
* text eol=crlf
|
||||
*.up -text
|
||||
*.UP -text
|
||||
travis_*.sh text eol=lf
|
||||
.travis.yml text eol=lf
|
||||
|
27
.travis.yml
Normal file
27
.travis.yml
Normal file
@ -0,0 +1,27 @@
|
||||
language: c
|
||||
|
||||
dist: bionic
|
||||
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
- sourceline: 'ppa:dosemu2/ppa'
|
||||
- sourceline: 'ppa:stsp-0/djgpp'
|
||||
- sourceline: 'ppa:tkchia/build-ia16'
|
||||
packages:
|
||||
- gcc-ia16-elf
|
||||
- nasm
|
||||
- upx
|
||||
update: true
|
||||
|
||||
before_install:
|
||||
- echo "before_install"
|
||||
|
||||
install:
|
||||
- ./travis_build.sh
|
||||
|
||||
before_script:
|
||||
- echo "before_script"
|
||||
|
||||
script:
|
||||
- ./travis_test.sh
|
4
travis_build.sh
Executable file
4
travis_build.sh
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
make all COMPILER=gcc
|
||||
|
8
travis_test.sh
Executable file
8
travis_test.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ -f kernel/kernel.sys ] ; then
|
||||
echo Kernel has been built
|
||||
exit 0
|
||||
fi
|
||||
|
||||
exit 1
|
Loading…
Reference in New Issue
Block a user