Skip to content

Commit 374894b

Browse files
committed
Travis caching adjustments for release-0.4
including temporarily allowing this branch to be cached, will rebase that out
1 parent c490067 commit 374894b

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

.travis.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,8 @@ matrix:
2424
env: ARCH="x86_64"
2525
cache:
2626
directories:
27-
- $TRAVIS_BUILD_DIR/deps/srccache
28-
- $TRAVIS_BUILD_DIR/deps/build-i686
29-
- $TRAVIS_BUILD_DIR/deps/build-x86_64
27+
- $TRAVIS_BUILD_DIR/deps-i686
28+
- $TRAVIS_BUILD_DIR/deps-x86_64
3029
notifications:
3130
email: false
3231
irc:
@@ -43,6 +42,9 @@ before_install:
4342
- if [ `uname` = "Linux" ]; then
4443
contrib/travis_fastfail.sh || exit 1;
4544
BUILDOPTS="-j3 VERBOSE=1 FORCE_ASSERTIONS=1";
45+
if [ "$ARCH" = "i686" ]; then
46+
export BUILDOPTS="$BUILDOPTS MARCH=pentium4";
47+
fi;
4648
elif [ `uname` = "Darwin" ]; then
4749
brew update;
4850
brew install -v jq;
@@ -61,7 +63,7 @@ before_install:
6163
fi
6264
- git clone -q git://git.kitenet.net/moreutils
6365
script:
64-
- if [ -e deps/build-$ARCH ]; then cp -a deps/build-$ARCH deps/build; fi
66+
- if [ -e deps-$ARCH ]; then cp -a deps-$ARCH/* deps; fi
6567
- make $BUILDOPTS -C base version_git.jl.phony
6668
- make $BUILDOPTS NO_GIT=1 -C deps > deps.log || cat deps.log
6769
- 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 +76,13 @@ script:
7476
- 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
7577
- /tmp/julia/bin/julia -e 'versioninfo()'
7678
- 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 pkg
77-
- cd `dirname $TRAVIS_BUILD_DIR` && mv julia2 julia && rm -f julia/deps/build/julia-env/src/*/*/*.pyc
79+
- cd `dirname $TRAVIS_BUILD_DIR` && mv julia2 julia && rm -f julia/deps/julia-env/src/*/*/*.pyc
7880
- 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;;
81+
false-master | false-release* | false-tk*)
82+
cd julia && rm -rf deps-$ARCH && mkdir -p deps-$ARCH &&
83+
for i in $(git ls-files -o --directory deps); do
84+
mv $i deps-$ARCH;
85+
done;;
8286
esac
8387
# uncomment the following if failures are suspected to be due to the out-of-memory killer
8488
# - dmesg

0 commit comments

Comments
 (0)