language: cpp
compiler:
  - clang
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
  - git config --global user.name "Travis User"
  - git config --global user.email "travis@example.com"
  - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
script:
  - julia -e 'Pkg.init(); Pkg.clone(pwd())'
  - julia -e 'Pkg.test("Lexicon", coverage=true)'
after_success:
  - julia -e 'cd(Pkg.dir("Lexicon")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'

language: julia
os:
    - linux
julia:
    - release
    - nightly
notifications:
    email: false
script:
    - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
    - julia --check-bounds=yes -e 'Pkg.clone(pwd()); Pkg.build("Lexicon"); Pkg.test("Lexicon"; coverage=true)'
after_success:
    - julia -e 'cd(Pkg.dir("Lexicon")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'

Update Travis to new julia language version.
Update Travis to new julia language version.
