akaros/.travis.yml
<<
>>
Prefs
   1sudo: required
   2language: c
   3before_install:
   4  - sudo apt-get install -y --force-yes flex bison git qemu-kvm
   5
   6script:
   7  - set +x
   8  - cd $AKAROS_ROOT
   9  - cd $AKAROS_ROOT && make ARCH=x86 defconfig
  10  - cd $AKAROS_ROOT && make xcc-clean
  11  - cd $AKAROS_ROOT && make xcc-uninstall
  12  - cd $AKAROS_ROOT && travis_wait 50 make xcc-build
  13  - cd $AKAROS_ROOT && make userclean
  14  - cd $AKAROS_ROOT && make install-base-libs
  15  - cd $AKAROS_ROOT && make testclean utestclean
  16  - cd $AKAROS_ROOT && make apps-clean
  17  - cd $AKAROS_ROOT && make apps-install
  18  - cd $AKAROS_ROOT && make tests utest
  19  - cd $AKAROS_ROOT && make fill-kfs
  20  - cd $AKAROS_ROOT && make
  21  - echo "Build SUCCESS"
  22
  23env:
  24  global:
  25  - ARCH=x86
  26  - AKAROS_ROOT=$TRAVIS_BUILD_DIR
  27  - X86_64_INSTDIR="$AKAROS_ROOT/install/x86_64-ucb-akaros-gcc"
  28  - PATH=$X86_64_INSTDIR/bin:$PATH
  29  - AKAROS_XCC_ROOT=$X86_64_INSTDIR
  30  - MAKE_JOBS=4
  31
  32notifications:
  33  email:
  34    recipients:
  35      - akaros-travis@googlegroups.com
  36    on_success: never
  37    on_failure: always
  38
  39# we cat for logs in the order they are created (toolchain, then apps), so that
  40# the most recent is the last one printed.  The most recent should be the one
  41# that caused the error
  42after_failure:
  43  - echo "Build FAILED, trying to dump logs"
  44  - cd $AKAROS_ROOT/tools/compilers/gcc-glibc/build_logs && cat `ls -t | head -1`
  45  - cd $AKAROS_ROOT/build_logs && cat `ls -t | head -1`
  46