Skip to content

Commit 0055107

Browse files
committed
leave old travis cache in place for non-master builds
delete .pyc files from doc build [av skip]
1 parent 26179c5 commit 0055107

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.travis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ before_install:
6161
fi
6262
- git clone -q git://git.kitenet.net/moreutils
6363
script:
64-
- if [ -e deps/build-$ARCH ]; then mv deps/build-$ARCH deps/build; fi
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,10 +74,10 @@ 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
7778
- case $TRAVIS_PULL_REQUEST-$TRAVIS_BRANCH in
7879
false-master | false-release*)
79-
cd `dirname $TRAVIS_BUILD_DIR` &&
80-
mv julia2 julia &&
80+
rm -rf julia/deps/build-$ARCH &&
8181
mv julia/deps/build julia/deps/build-$ARCH;;
8282
esac
8383
# uncomment the following if failures are suspected to be due to the out-of-memory killer

0 commit comments

Comments
 (0)