Skip to content

Commit

Permalink
Simplify travis config due to Pkg2
Browse files Browse the repository at this point in the history
  • Loading branch information
aviks committed Sep 12, 2013
1 parent 18fc988 commit 5db2977
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@ before_install:
- sudo add-apt-repository ppa:staticfloat/julia-deps -y
- sudo add-apt-repository ppa:staticfloat/julianightlies -y
- sudo apt-get update -qq -y
- sudo apt-get upgrade -y
- sudo apt-get install julia -y
- git config --global user.name "Travis User"
- git config --global user.email "[email protected]"
- sudo apt-get install libpcre3-dev julia -y
script:
- julia -e "Pkg.init()"
- mkdir -p ~/.julia/JSON
- cp -R ./* ~/.julia/JSON/
- julia ~/.julia/JSON/test/JSON.jl
- julia -e 'Pkg.init(); run(`ln -s $(pwd()) $(Pkg.dir())/JSON`); Pkg.resolve()'
- julia -e 'using JSON; @assert isdefined(:JSON); @assert typeof(JSON) === Module'
- julia test/JSON.jl

0 comments on commit 5db2977

Please sign in to comment.