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  - AKAROS_TOOLCHAINS="$AKAROS_ROOT/install"
  28  - PATH=$AKAROS_TOOLCHAINS/x86_64-ucb-akaros-gcc/bin:$PATH
  29  - MAKE_JOBS=4
  30
  31notifications:
  32  email:
  33    recipients:
  34      - akaros-travis@googlegroups.com
  35    on_success: never
  36    on_failure: always
  37
  38# we cat for logs in the order they are created (toolchain, then apps), so that
  39# the most recent is the last one printed.  The most recent should be the one
  40# that caused the error
  41after_failure:
  42  - echo "Build FAILED, trying to dump logs"
  43  - cd $AKAROS_ROOT/tools/compilers/gcc-glibc/build_logs && cat `ls -t | head -1`
  44  - cd $AKAROS_ROOT/build_logs && cat `ls -t | head -1`
  45