.travis.yml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. language: c
  2. branches:
  3. only:
  4. - crashey
  5. - master
  6. - allocator-fixes
  7. compiler:
  8. - gcc
  9. - clang
  10. # 3 profiles for clang and gcc
  11. env:
  12. -
  13. - SUBNODE=1
  14. script:
  15. - uname -a
  16. - if test "1" = "$SUBNODE"; then echo "Subnode build"; fi
  17. - ./do
  18. matrix:
  19. include:
  20. - name: "check js"
  21. script:
  22. - "bash node_build/run_jshint"
  23. ## TODO(cjd) merge allocator-fixes and enable this
  24. # - name: "AddressSanitizer"
  25. # addons:
  26. # apt:
  27. # sources:
  28. # - llvm-toolchain-trusty-5.0
  29. # packages:
  30. # - llvm-5.0-dev
  31. # - clang-5.0
  32. # - libclang-common-5.0-dev
  33. # script:
  34. # - export CC=clang
  35. # - export CXX=clang++
  36. # - export PATH=/usr/lib/llvm-5.0/bin/:$PATH
  37. # - export CFLAGS=-fsanitize=address
  38. # - export LDFLAGS=-fsanitize=address
  39. # - export ASAN_SYMBOLIZER_PATH=/usr/lib/llvm-5.0/bin/llvm-symbolizer
  40. # - ./do
  41. # - ./build_*/test_testcjdroute_c | while read x; do test "$x" != "" && bash -c $x >/dev/null || exit 100; done
  42. - name: "android"
  43. script:
  44. - ./android_do