summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-01-10 13:19:54 -0500
committerAlon Zakai <alonzakai@gmail.com>2016-01-10 13:19:54 -0500
commit75a562190a9f4588c8ffb19b8304f76c15a850c6 (patch)
tree695b2b307125273316e9c0b1f886c6503e571155
parentf637ed52c79a04b60806cf0e031847a4d7da7ff6 (diff)
parent60c26fcb2bfec74b0a8d0bf13cedd1014d81db17 (diff)
downloadbinaryen-75a562190a9f4588c8ffb19b8304f76c15a850c6.tar.gz
binaryen-75a562190a9f4588c8ffb19b8304f76c15a850c6.tar.bz2
binaryen-75a562190a9f4588c8ffb19b8304f76c15a850c6.zip
Merge pull request #90 from WebAssembly/more-travis
A few Travis change
-rw-r--r--.travis.yml9
-rwxr-xr-xcheck.py4
2 files changed, 5 insertions, 8 deletions
diff --git a/.travis.yml b/.travis.yml
index 05213c3d5..02b7efd86 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -14,11 +14,12 @@ matrix:
packages: ['cmake', 'clang-3.7']
compiler: clang
env: COMPILER_VERSION=3.7
-#before_script:
-# - python update.py
-script:
+before_script:
+ - git submodule update --init # Initialize the submodules recorded in the index.
- export CC="${CC}-${COMPILER_VERSION}"
- export CXX="${CXX}-${COMPILER_VERSION}"
+ - $CC --version
+script:
- cmake .
- make -j2
- - python check.py
+ - ./check.py
diff --git a/check.py b/check.py
index b8aaff926..ed43458ef 100755
--- a/check.py
+++ b/check.py
@@ -72,16 +72,12 @@ else:
if not interpreter:
print 'warning: no interpreter provided (not testing spec interpreter validation)'
- time.sleep(0.5)
if not has_node:
print 'warning: no node found (not checking proper js form)'
- time.sleep(0.5)
if not has_mozjs:
print 'warning: no mozjs found (not checking asm.js validation)'
- time.sleep(0.5)
if not has_emcc:
print 'warning: no emcc found (not checking emscripten/binaryen integration)'
- time.sleep(0.5)
print '[ checking asm2wasm testcases... ]\n'