Skip to content

Commit

Permalink
Switch to native julia support in .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangehring committed Jan 8, 2015
1 parent 63247d9 commit 82a6905
Showing 1 changed file with 11 additions and 18 deletions.
29 changes: 11 additions & 18 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,14 @@
language: cpp
compiler:
- clang
language: julia
os:
- linux
- osx
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 "travis@example.net"
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
email: false
script:
- julia -e 'Pkg.init(); Pkg.clone(pwd())'
- julia -e 'Pkg.test("Humanize", coverage=true)'
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- julia --check-bounds=yes -e 'Pkg.clone(pwd()); Pkg.build("Humanize"); Pkg.test("Humanize"; coverage=true)'
after_success:
- julia -e 'cd(Pkg.dir("Humanize")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
- julia -e 'cd(Pkg.dir("Humanize")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'

0 comments on commit 82a6905

Please sign in to comment.