Skip to content

Commit cbedba3

Browse files
zdevitoezyang
authored andcommitted
use valgrind to make aten test pass
1 parent 502aaf3 commit cbedba3

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.travis.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -15,27 +15,26 @@ cache:
1515
- directories:
1616
- $HOME/.ccache
1717

18-
install:
18+
script:
1919
- unset CCACHE_DISABLE
2020
- export CCACHE_DIR=$HOME/.ccache
2121
- export CC="ccache gcc-5"
2222
- export CXX="ccache g++-5"
2323
- ccache --show-stats
24+
- tools/run_aten_tests.sh
2425
- travis_retry pip install --upgrade pip setuptools wheel
2526
- travis_retry pip install -r requirements.txt --only-binary=scipy
2627
- git submodule update --init --recursive
2728
- MAX_JOBS=8 python setup.py install
29+
- OMP_NUM_THREADS=2 ./test/run_test.sh
2830

2931
addons:
3032
apt:
3133
sources:
3234
- ubuntu-toolchain-r-test
3335
packages:
3436
- g++-5
35-
36-
script:
37-
- OMP_NUM_THREADS=2 ./test/run_test.sh
38-
- tools/run_aten_tests.sh
37+
- valgrind
3938

4039
# This reportedly works around an issue downloading packages from pypi on
4140
# travis. Consider removing this after the underlying issue is fixed.

0 commit comments

Comments
 (0)