Skip to content
This repository has been archived by the owner on Oct 21, 2021. It is now read-only.

Commit

Permalink
Update Travis to use Julia Language Support
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebolewski committed Dec 16, 2014
1 parent 40d9ca0 commit 6525b82
Showing 1 changed file with 6 additions and 17 deletions.
23 changes: 6 additions & 17 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,10 @@
language: cpp
compiler:
- gcc
language: julia
os:
- linux
julia:
- release
- nightly
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 "[email protected]"
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
script:
- julia -e 'versioninfo(); Pkg.init(); Pkg.clone(pwd())'
- julia -e 'Pkg.test("Graphs", coverage=true)'
after_success:
- julia -e 'cd(Pkg.dir("Graphs")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'

3 comments on commit 6525b82

@mlubin
Copy link
Contributor

@mlubin mlubin commented on 6525b82 Dec 21, 2014

Choose a reason for hiding this comment

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

This broke coveralls

@IainNZ
Copy link
Contributor

@IainNZ IainNZ commented on 6525b82 Dec 22, 2014

Choose a reason for hiding this comment

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

I think its because the Travis thing doesn't generate coverage data... err @tkelman do you know status of this?

@tkelman
Copy link
Contributor

Choose a reason for hiding this comment

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

Right, at the moment it doesn't, but we're likely to turn it on by default with a pull request to travis soonish.

In the meantime you can put back a slightly modified version of the script section

script:
    - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
    - julia -e 'Pkg.clone(pwd()); Pkg.test("Graphs", coverage=true)'

Please sign in to comment.