Skip to content

Commit

Permalink
Use language: julia in default .travis.yml
Browse files Browse the repository at this point in the history
and add the os: section for mac testing (has to be explicitly enabled
by sending an email to [email protected], see
http:https://docs.travis-ci.com/user/multi-os )
  • Loading branch information
tkelman committed Dec 10, 2014
1 parent ed25518 commit 6cb77aa
Showing 1 changed file with 9 additions and 15 deletions.
24 changes: 9 additions & 15 deletions base/pkg/generate.jl
Original file line number Diff line number Diff line change
Expand Up @@ -136,23 +136,17 @@ end
function travis(pkg::AbstractString; force::Bool=false)
genfile(pkg,".travis.yml",force) do io
print(io, """
language: cpp
compiler:
- clang
language: julia
os:
- linux
- osx
julia:
- release
- nightly
notifications:
email: false
env:
matrix:
- JULIAVERSION="juliareleases"
- JULIAVERSION="julianightlies"
before_install:
- sudo add-apt-repository ppa:staticfloat/julia-deps -y
- sudo add-apt-repository ppa:staticfloat/\${JULIAVERSION} -y
- sudo apt-get update -qq -y
- sudo apt-get install libpcre3-dev julia -y
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
script:
- julia --check-bounds=yes -e 'versioninfo(); Pkg.init(); Pkg.clone(pwd()); Pkg.build("$pkg"); Pkg.test("$pkg")'
#script:
# - julia --check-bounds=yes -e 'Pkg.clone(pwd()); Pkg.build("$pkg"); Pkg.test("$pkg")'
""")
end
end
Expand Down

1 comment on commit 6cb77aa

@StefanKarpinski
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So cool.

Please sign in to comment.