.travis.yml 1.3 KB

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