-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to native julia support in .travis.yml
- Loading branch information
1 parent
63247d9
commit 82a6905
Showing
1 changed file
with
11 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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())' |