Skip to content

Commit a116b34

Browse files
committed
use separate caches for 32 vs 64 bit by setting compiler
leave deps/build in place, except for julia-env since travis caching has issues with symlinks [av skip]
1 parent deda5f2 commit a116b34

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.travis.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ matrix:
44
include:
55
- os: linux
66
env: ARCH="i686"
7+
compiler: "g++ -m32"
78
addons:
89
apt:
910
packages:
@@ -16,6 +17,7 @@ matrix:
1617
- gfortran:i386
1718
- os: linux
1819
env: ARCH="x86_64"
20+
compiler: "g++ -m64"
1921
addons:
2022
apt:
2123
packages:
@@ -25,8 +27,7 @@ matrix:
2527
cache:
2628
directories:
2729
- $TRAVIS_BUILD_DIR/deps/srccache
28-
- $TRAVIS_BUILD_DIR/deps/build-i686
29-
- $TRAVIS_BUILD_DIR/deps/build-x86_64
30+
- $TRAVIS_BUILD_DIR/deps/build
3031
notifications:
3132
email: false
3233
irc:
@@ -61,7 +62,6 @@ before_install:
6162
fi
6263
- git clone -q git://git.kitenet.net/moreutils
6364
script:
64-
- if [ -e deps/build-$ARCH ]; then cp -a deps/build-$ARCH deps/build; fi
6565
- make $BUILDOPTS -C base version_git.jl.phony
6666
- make $BUILDOPTS NO_GIT=1 -C deps > deps.log || cat deps.log
6767
- make $BUILDOPTS NO_GIT=1 JULIA_SYSIMG_BUILD_FLAGS="--output-ji ../usr/lib/julia/sys.ji" prefix=/tmp/julia install | moreutils/ts -s "%.s"
@@ -74,11 +74,6 @@ script:
7474
- cp /tmp/julia/lib/julia/sys.ji local.ji && /tmp/julia/bin/julia -J local.ji -e 'true' && /tmp/julia/bin/julia-debug -J local.ji -e 'true' && rm local.ji
7575
- /tmp/julia/bin/julia -e 'versioninfo()'
7676
- export JULIA_CPU_CORES=2 && cd /tmp/julia/share/julia/test && /tmp/julia/bin/julia --check-bounds=yes runtests.jl all && /tmp/julia/bin/julia --check-bounds=yes runtests.jl libgit2-online pkg
77-
- cd `dirname $TRAVIS_BUILD_DIR` && mv julia2 julia && rm -f julia/deps/build/julia-env/src/*/*/*.pyc
78-
- case $TRAVIS_PULL_REQUEST-$TRAVIS_BRANCH in
79-
false-master | false-release*)
80-
rm -rf julia/deps/build-$ARCH &&
81-
mv julia/deps/build julia/deps/build-$ARCH;;
82-
esac
77+
- cd `dirname $TRAVIS_BUILD_DIR` && mv julia2 julia && rm -rf julia/deps/build/julia-env
8378
# uncomment the following if failures are suspected to be due to the out-of-memory killer
8479
# - dmesg

0 commit comments

Comments
 (0)