language: cpp
compiler:
  - clang
notifications:
  email: false
env:
  - 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.net"
  - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
  - npm config set spin=false
script:
  - npm install
  #- julia -e 'Pkg.init(); Pkg.clone(pwd())'
  - npm test
  #- julia -e 'Pkg.test("Example", coverage=true)'
after_success:
  #- julia -e 'cd(Pkg.dir("Example")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'

language: cpp
compiler:
  - clang
notifications:
  email: false
env:
  - 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.net"
  - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
  - npm config set spin=false
script:
  - npm install
  - julia -e 'Pkg.init(); Pkg.clone(pwd())'
  - npm test
  - julia -e 'Pkg.test("Example", coverage=true)'
after_success:
  - julia -e 'cd(Pkg.dir("Example")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'

Enable Julia install on Travis
Enable Julia install on Travis
