Skip to content

Commit

Permalink
Merge pull request #2 from julian-gehring/travis
Browse files Browse the repository at this point in the history
Switch to native julia support in .travis.yml
  • Loading branch information
IainNZ committed Jan 8, 2015
2 parents 63247d9 + 82a6905 commit c007ea3
Showing 1 changed file with 11 additions and 18 deletions.
29 changes: 11 additions & 18 deletions .travis.yml
@@ -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 c007ea3

Please sign in to comment.