Skip to content

Commit

Permalink
Merge pull request #14737 from JuliaLang/tk/osxtravis
Browse files Browse the repository at this point in the history
turn osx travis partially back on

[av skip]
  • Loading branch information
tkelman committed Jan 20, 2016
2 parents 19003ea + 193d737 commit 275c7e8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ matrix:
- bar
- g++-5
- gfortran-5
# - os: osx # TODO: turn this back on once it's fast enough to not time out
# env: ARCH="x86_64"
- os: osx
env: ARCH="x86_64"
cache:
directories:
- $TRAVIS_BUILD_DIR/deps/srccache
Expand All @@ -56,6 +56,7 @@ before_install:
ln -s /usr/bin/gfortran-5 $HOME/bin/gfortran;
gcc --version;
BUILDOPTS="-j3 VERBOSE=1 FORCE_ASSERTIONS=1";
export TESTSTORUN="all";
elif [ `uname` = "Darwin" ]; then
brew update;
brew install -v jq bar;
Expand All @@ -72,7 +73,7 @@ before_install:
export LDFLAGS="-L$(brew --prefix openblas-julia)/lib -L$(brew --prefix suite-sparse-julia)/lib";
export DYLD_FALLBACK_LIBRARY_PATH="/usr/local/lib:/lib:/usr/lib:$(brew --prefix openblas-julia)/lib:$(brew --prefix suite-sparse-julia)/lib:$(brew --prefix arpack-julia)/lib";
make $BUILDOPTS -C contrib -f repackage_system_suitesparse4.make;
fi
export TESTSTORUN="core"; fi # TODO: turn this back to "all" once it's fast enough to not time out
- git clone -q git://git.kitenet.net/moreutils
script:
- make -C moreutils mispipe
Expand All @@ -87,7 +88,7 @@ script:
- cd .. && mv julia julia2
- 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
- /tmp/julia/bin/julia -e 'versioninfo()'
- 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
- export JULIA_CPU_CORES=2 && cd /tmp/julia/share/julia/test && /tmp/julia/bin/julia --check-bounds=yes runtests.jl $TESTSTORUN && /tmp/julia/bin/julia --check-bounds=yes runtests.jl libgit2-online pkg
- cd `dirname $TRAVIS_BUILD_DIR` && mv julia2 julia && rm -rf julia/deps/build/julia-env
# uncomment the following if failures are suspected to be due to the out-of-memory killer
# - dmesg
2 changes: 1 addition & 1 deletion test/socket.jl
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ let
try
t = connect(addr)
finally
close(srv)
close(srv)
end

test = !is(t,t0)
Expand Down

0 comments on commit 275c7e8

Please sign in to comment.