-
Notifications
You must be signed in to change notification settings - Fork 61
/
Copy path.travis.yml
44 lines (40 loc) · 1.33 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
sudo: required
language: c
before_install:
- sudo apt-get install -y --force-yes flex bison git qemu-kvm
script:
- set +x
- cd $AKAROS_ROOT
- cd $AKAROS_ROOT && make ARCH=x86 defconfig
- cd $AKAROS_ROOT && make xcc-clean
- cd $AKAROS_ROOT && make xcc-uninstall
- cd $AKAROS_ROOT && travis_wait 50 make xcc-build
- cd $AKAROS_ROOT && make userclean
- cd $AKAROS_ROOT && make install-base-libs
- cd $AKAROS_ROOT && make testclean utestclean
- cd $AKAROS_ROOT && make apps-clean
- cd $AKAROS_ROOT && make apps-install
- cd $AKAROS_ROOT && make tests utest
- cd $AKAROS_ROOT && make fill-kfs
- cd $AKAROS_ROOT && make
- echo "Build SUCCESS"
env:
global:
- ARCH=x86
- AKAROS_ROOT=$TRAVIS_BUILD_DIR
- AKAROS_TOOLCHAINS="$AKAROS_ROOT/install"
- PATH=$AKAROS_TOOLCHAINS/x86_64-ucb-akaros-gcc/bin:$PATH
- MAKE_JOBS=4
notifications:
email:
recipients:
on_success: never
on_failure: always
# we cat for logs in the order they are created (toolchain, then apps), so that
# the most recent is the last one printed. The most recent should be the one
# that caused the error
after_failure:
- echo "Build FAILED, trying to dump logs"
- cd $AKAROS_ROOT/tools/compilers/gcc-glibc/build_logs && cat `ls -t | head -1`
- cd $AKAROS_ROOT/build_logs && cat `ls -t | head -1`