This repository has been archived by the owner on Sep 4, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #28 from JuliaLang/testrefactor
Test modernized, Travis, Coveralls/Coverage, close #27
- Loading branch information
Showing
5 changed files
with
59 additions
and
33 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,24 +1,21 @@ | ||
language: cpp | ||
compiler: | ||
- clang | ||
- clang | ||
notifications: | ||
email: | ||
- zach.allaun@gmail.com | ||
- daniel@danielespeset.com | ||
email: false | ||
env: | ||
- JULIAVERSION="juliareleases" | ||
- JULIAVERSION="julianightlies" | ||
before_install: | ||
- sudo add-apt-repository ppa:staticfloat/julia-deps -y | ||
- sudo add-apt-repository ppa:staticfloat/julianightlies -y | ||
- sudo apt-get update -qq -y | ||
- sudo apt-get install libpcre3-dev julia -y | ||
- git config --global user.name "Zach Allaun" | ||
- git config --global user.email "zach.allaun@gmail.com" | ||
- git submodule update --init --recursive | ||
- 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 | ||
script: | ||
- julia -e "Pkg.init()" | ||
- mkdir -p ~/.julia/HttpServer | ||
- cp -R ./* ~/.julia/HttpServer/ | ||
- julia -e 'Pkg.add("BinDeps")' | ||
- julia -e 'Pkg.add("FactCheck")' | ||
- julia -e 'Pkg.add("HttpCommon")' | ||
- julia -e 'Pkg.add("Calendar")' | ||
- julia ~/.julia/HttpServer/test/test.jl | ||
- julia -e 'Pkg.init(); Pkg.clone(pwd())' | ||
- julia -e 'Pkg.test("HttpServer", coverage=true)' | ||
after_success: | ||
- julia -e 'cd(Pkg.dir("HttpServer")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())' |
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
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,4 +1,4 @@ | ||
julia 0.2- | ||
HttpCommon 0.0.3- | ||
HttpParser 0.0.5- | ||
julia 0.3 | ||
HttpCommon | ||
HttpParser | ||
GnuTLS |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
FactCheck | ||
Requests |
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
d23805c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
I've updated the testing config in Example.jl also.