1
1
language : cpp
2
- sudo : false
2
+ sudo : required
3
3
dist : trusty
4
4
matrix :
5
5
include :
@@ -58,8 +58,11 @@ before_install:
58
58
contrib/travis_fastfail.sh || exit 1;
59
59
gcc --version;
60
60
BAR="bar -i 30";
61
- BUILDOPTS="-j3 VERBOSE=1 FORCE_ASSERTIONS=1 LLVM_ASSERTIONS=1";
61
+ BUILDOPTS="-j5 VERBOSE=1 FORCE_ASSERTIONS=1 LLVM_ASSERTIONS=1";
62
62
echo "override ARCH=$ARCH" >> Make.user;
63
+ sudo sh -c "echo 0 > /proc/sys/net/ipv6/conf/lo/disable_ipv6";
64
+ export JULIA_CPU_CORES=4;
65
+ export JULIA_TEST_MAXRSS_MB=1200;
63
66
TESTSTORUN="all";
64
67
elif [ `uname` = "Darwin" ]; then
65
68
brew update;
@@ -81,6 +84,8 @@ before_install:
81
84
export JULIA_MACOS_SPAWN="DYLD_FALLBACK_LIBRARY_PATH=\"$DYLD_FALLBACK_LIBRARY_PATH\" \$1";
82
85
export BUILDOPTS="$BUILDOPTS spawn=\$(JULIA_MACOS_SPAWN)";
83
86
make $BUILDOPTS -C contrib -f repackage_system_suitesparse4.make;
87
+ export JULIA_CPU_CORES=2;
88
+ export JULIA_TEST_MAXRSS_MB=600;
84
89
TESTSTORUN="all --skip linalg/triangular subarray"; fi # TODO: re enable these if possible without timing out
85
90
- git clone -q git://git.kitenet.net/moreutils
86
91
script :
@@ -119,9 +124,8 @@ script:
119
124
/tmp/julia/bin/julia-debug --precompiled=no -e 'true'
120
125
- /tmp/julia/bin/julia -e 'versioninfo()'
121
126
- pushd /tmp/julia/share/julia/test
122
- - export JULIA_CPU_CORES=2 && export JULIA_TEST_MAXRSS_MB=600 &&
123
- /tmp/julia/bin/julia --check-bounds=yes runtests.jl $TESTSTORUN &&
124
- /tmp/julia/bin/julia --check-bounds=yes runtests.jl libgit2-online download pkg
127
+ - /tmp/julia/bin/julia --check-bounds=yes runtests.jl $TESTSTORUN &&
128
+ /tmp/julia/bin/julia --check-bounds=yes runtests.jl libgit2-online download pkg
125
129
- popd
126
130
# test that the embedding code works on our installation
127
131
- mkdir /tmp/embedding-test &&
0 commit comments