-
Notifications
You must be signed in to change notification settings - Fork 588
/
.travis.yml
57 lines (50 loc) · 1.3 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
45
46
47
48
49
50
51
52
53
54
55
56
57
language: rust
branches:
only:
- crashey
- master
- allocator-fixes
- rust-build
rust:
- stable
compiler:
- gcc
- clang
# 3 profiles for clang and gcc
env:
-
- SUBNODE=1
script:
- uname -a
- if test "1" = "$SUBNODE"; then echo "Subnode build"; fi
- ./do
matrix:
include:
- name: "check js"
script:
- "bash node_build/run_jshint"
## TODO(cjd) merge allocator-fixes and enable this
# - name: "AddressSanitizer"
# addons:
# apt:
# sources:
# - llvm-toolchain-trusty-5.0
# packages:
# - llvm-5.0-dev
# - clang-5.0
# - libclang-common-5.0-dev
# script:
# - export CC=clang
# - export CXX=clang++
# - export PATH=/usr/lib/llvm-5.0/bin/:$PATH
# - export CFLAGS=-fsanitize=address
# - export LDFLAGS=-fsanitize=address
# - export ASAN_SYMBOLIZER_PATH=/usr/lib/llvm-5.0/bin/llvm-symbolizer
# - ./do
# - ./build_*/test_testcjdroute_c | while read x; do test "$x" != "" && bash -c $x >/dev/null || exit 100; done
- name: "android"
script:
- rustup target add aarch64-linux-android
- rustup target add i686-linux-android
- rustup target add x86_64-linux-android
- ./android_do