-
Notifications
You must be signed in to change notification settings - Fork 33
/
.travis.yml
97 lines (89 loc) · 3.46 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
language: cpp
os:
- linux
- osx
env:
- BUILD_TYPE=Debug
- BUILD_TYPE=Debug TEST=unit
- BUILD_TYPE=Release
- BUILD_TYPE=Release TEST=unit
- BUILD_TYPE=Release TEST=performance
- BUILD_TYPE=Release TEST=test262 TEST262=annexB
- BUILD_TYPE=Release TEST=test262 TEST262=bestPractice
- BUILD_TYPE=Release TEST=test262 TEST262=ch06
- BUILD_TYPE=Release TEST=test262 TEST262=ch07
- BUILD_TYPE=Release TEST=test262 TEST262=ch08
- BUILD_TYPE=Release TEST=test262 TEST262=ch09
- BUILD_TYPE=Release TEST=test262 TEST262=ch10
- BUILD_TYPE=Release TEST=test262 TEST262=ch11
- BUILD_TYPE=Release TEST=test262 TEST262=ch12
- BUILD_TYPE=Release TEST=test262 TEST262=ch13
- BUILD_TYPE=Release TEST=test262 TEST262=ch14
- BUILD_TYPE=Release TEST=test262 TEST262=ch15/15.1
- BUILD_TYPE=Release TEST=test262 TEST262=ch15/15.2
- BUILD_TYPE=Release TEST=test262 TEST262=ch15/15.3
- BUILD_TYPE=Release TEST=test262 TEST262=ch15/15.4
- BUILD_TYPE=Release TEST=test262 TEST262=ch15/15.5
- BUILD_TYPE=Release TEST=test262 TEST262=ch15/15.6
- BUILD_TYPE=Release TEST=test262 TEST262=ch15/15.7
- BUILD_TYPE=Release TEST=test262 TEST262=ch15/15.8
- BUILD_TYPE=Release TEST=test262 TEST262=ch15/15.9
- BUILD_TYPE=Release TEST=test262 TEST262=ch15/15.10
- BUILD_TYPE=Release TEST=test262 TEST262=ch15/15.11
- BUILD_TYPE=Release TEST=test262 TEST262=ch15/15.12
- BUILD_TYPE=Release TEST=test262 TEST262=intl402
before_install:
- export TZ=GST+8
- export JOBS=2
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test;
sudo apt-get update -qq;
fi
install:
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then
sudo apt-get install -qq g++-4.8;
export CC="gcc-4.8";
export CXX="g++-4.8";
sudo apt-get install -y llvm-3.3-dev libdw-dev libbfd-dev;
fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then
export CC="clang";
export CXX="clang++";
brew install binutils cmake llvm --verbose;
fi
before_script:
- cmake --version
- "cmake -H. -Bout -DCMAKE_BUILD_TYPE=$BUILD_TYPE"
script:
- if [ "$TEST" == "" ]; then
make -C out lv5 iv_unit_tests lv5_unit_tests aero_benchmarks -j$JOBS;
fi
- if [ "$TEST" == "unit" ]; then
make -C out iv_unit_tests lv5_unit_tests -j$JOBS;
out/iv/test/iv_unit_tests;
out/iv/lv5/test/lv5_unit_tests;
fi
- if [ "$TEST" == "performance" ]; then
make -C out aero_benchmarks lv5 download-sunspider -j$JOBS;
out/iv/test/benchmarks/aero_benchmarks --benchmark_iterations=100;
make -C out sunspider;
fi
- if [ "$TEST" == "test262" ]; then
make -C out lv5 download-test262 -j$JOBS;
travis_wait python out/tools/download-test262-prefix/src/download-test262/tools/packaging/test262.py --tests=out/tools/download-test262-prefix/src/download-test262 --command=out/iv/lv5/lv5 --summary $TEST262;
fi
notifications:
email:
recipients:
- utatane.tea@gmail.com
on_success: change
on_failure: always
webhooks:
urls:
- https://webhooks.gitter.im/e/08227c1b059d9d0c5fb8
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false
matrix:
allow_failures:
- compiler: clang